1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

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

This commit is contained in:
Tomasz Zieliński
2023-06-18 20:23:25 +02:00
parent 8510af487e
commit 25707b6d5e

View File

@@ -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