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