mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Probably found the root cause of terrain problems.
This commit is contained in:
@@ -134,7 +134,7 @@ void initTerrainType(Zone & zone, CMapGenerator & gen)
|
||||
|
||||
if (terrainType <= ETerrainId::NONE)
|
||||
{
|
||||
logGlobal->warn("Town %s has invalid terrain type: %s", zone.getTownType(), terrainType);
|
||||
logGlobal->warn("Town %s has invalid terrain type: %d", zone.getTownType(), terrainType);
|
||||
zone.setTerrainType(ETerrainId::DIRT);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user