mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Moved roads and rivers to TerrainTypeHandler, by analogy to TerrainType.
This commit is contained in:
@@ -229,7 +229,7 @@ void RmgMap::setOccupied(const int3 &tile, ETileType::ETileType state)
|
||||
tiles[tile.x][tile.y][tile.z].setOccupied(state);
|
||||
}
|
||||
|
||||
void RmgMap::setRoad(const int3& tile, const std::string & roadType)
|
||||
void RmgMap::setRoad(const int3& tile, TRoad roadType)
|
||||
{
|
||||
assertOnMap(tile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user