mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix warning
This commit is contained in:
parent
9d620b924d
commit
cfc4a26f55
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user