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

fix rmg underground

This commit is contained in:
Laserlicht
2025-08-29 21:22:45 +02:00
parent 6c08c23fbf
commit bf0fcaadb7
3 changed files with 3 additions and 3 deletions

View File

@@ -245,7 +245,7 @@ RmgMap::Zones RmgMap::getZonesOnLevel(int level) const
Zones zonesOnLevel;
for(const auto& zonePair : zones)
{
if(zonePair.second->isUnderground() == (bool)level)
if(zonePair.second->getPos().z == level)
{
zonesOnLevel.insert(zonePair);
}