mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Reverted RMG bug introduced in 6da79d01d7
This commit is contained in:
parent
c094e70784
commit
91d89add7c
@ -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
|
||||
int3 closestFreeTile (-1,-1,-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user