1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

+ Remove roads from wide connections BEFORE graph is generated

+ Explain all requirements in a commeny
This commit is contained in:
Tomasz Zieliński
2025-03-20 21:37:14 +01:00
parent 237f6ebb1c
commit 863e469b4d
3 changed files with 27 additions and 0 deletions

View File

@@ -328,6 +328,7 @@ void CMapGenerator::genZones()
{
placer->placeZones(rand.get());
placer->assignZones(rand.get());
placer->RemoveRoadsForWideConnections();
placer->dropRandomRoads(rand.get());
logGlobal->info("Zones generated successfully");