Browse Source

Fix warning

Tomasz Zieliński 1 year ago
parent
commit
cfc4a26f55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/rmg/RmgMap.cpp

+ 1 - 1
lib/rmg/RmgMap.cpp

@@ -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);
 		}