mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Moved roads and rivers to TerrainTypeHandler, by analogy to TerrainType.
This commit is contained in:
@@ -135,7 +135,6 @@ void initTerrainType(Zone & zone, CMapGenerator & gen)
|
||||
}
|
||||
|
||||
//Now, replace disallowed terrains on surface and in the underground
|
||||
//TODO: allow new types of terrain?
|
||||
const auto* terrainType = VLC->terrainTypeHandler->terrains()[zone.getTerrainType()];
|
||||
|
||||
if(zone.isUnderground())
|
||||
|
||||
Reference in New Issue
Block a user