1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix warning

This commit is contained in:
Tomasz Zieliński 2024-03-26 08:22:57 +01:00
parent 9d620b924d
commit cfc4a26f55

View File

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