Pārlūkot izejas kodu

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

Tomasz Zieliński 2 gadi atpakaļ
vecāks
revīzija
25707b6d5e
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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]);
 	GridType grid(boost::extents[gridSize][gridSize]);
 
 
 	TZoneVector zonesVector(zones.begin(), zones.end());
 	TZoneVector zonesVector(zones.begin(), zones.end());
-	RandomGeneratorUtil::randomShuffle(zonesVector, *rand);
 
 
 	//Place first zone
 	//Place first zone