From 25707b6d5e00411e5dd529ed3e317a6ff6ee521d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zieli=C5=84ski?= Date: Sun, 18 Jun 2023 20:23:25 +0200 Subject: [PATCH] Place zones in order given by template. Yields better results in a number of cases. --- lib/rmg/CZonePlacer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rmg/CZonePlacer.cpp b/lib/rmg/CZonePlacer.cpp index 781d9a0d0..c82502cdb 100644 --- a/lib/rmg/CZonePlacer.cpp +++ b/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