mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Terrain/Road/River handler are now in compileable state
This commit is contained in:
@ -143,14 +143,14 @@ void initTerrainType(Zone & zone, CMapGenerator & gen)
|
||||
{
|
||||
if(!terrainType->isUnderground())
|
||||
{
|
||||
zone.setTerrainType(TerrainId::SUBTERRANEAN);
|
||||
zone.setTerrainType(ETerrainId::SUBTERRANEAN);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!terrainType->isSurface())
|
||||
{
|
||||
zone.setTerrainType(TerrainId::DIRT);
|
||||
zone.setTerrainType(ETerrainId::DIRT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user