mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-27 00:41:08 +02:00
Fixed asserts (only for debug build)
This commit is contained in:
@ -43,7 +43,7 @@ void WaterProxy::process()
|
||||
for(auto & t : zone.area().getTilesVector())
|
||||
{
|
||||
assert(map.isOnMap(t));
|
||||
assert(map.map().getTile(t).terType == zone.getTerrainType());
|
||||
assert(map.map().getTile(t).terType->id == zone.getTerrainType());
|
||||
}
|
||||
|
||||
for(auto z : map.getZones())
|
||||
|
Reference in New Issue
Block a user