Explorar o código

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

Tomasz Zieliński %!s(int64=2) %!d(string=hai) anos
pai
achega
25707b6d5e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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