浏览代码

Place zones in order given by template. Yields better results in a number of cases.

Tomasz Zieliński 2 年之前
父节点
当前提交
25707b6d5e
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lib/rmg/CZonePlacer.cpp

+ 0 - 1
lib/rmg/CZonePlacer.cpp

@@ -104,7 +104,6 @@ void CZonePlacer::placeOnGrid(CRandomGenerator* rand)
 	GridType grid(boost::extents[gridSize][gridSize]);
 
 	TZoneVector zonesVector(zones.begin(), zones.end());
-	RandomGeneratorUtil::randomShuffle(zonesVector, *rand);
 
 	//Place first zone