1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Reverted RMG bug introduced in 6da79d01d7

This commit is contained in:
DjWarmonger
2014-11-22 13:01:28 +01:00
parent c094e70784
commit 91d89add7c

View File

@ -811,7 +811,7 @@ bool CRmgTemplateZone::createTreasurePile (CMapGenerator* gen, int3 &pos, float
} }
} }
if (!treasures.size()) if (treasures.size())
{ {
//find object closest to zone center, then connect it to the middle of the zone //find object closest to zone center, then connect it to the middle of the zone
int3 closestFreeTile (-1,-1,-1); int3 closestFreeTile (-1,-1,-1);