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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user