Add setting for map edge behaviour, and how to display area outside map

This commit is contained in:
Jonathan G Rennison
2023-12-22 17:32:44 +00:00
parent 540cec2af5
commit 378a545dd4
9 changed files with 99 additions and 7 deletions

View File

@@ -473,6 +473,11 @@ void FixSlopes()
}
}
}
extern bool CheckMapEdgesAreWater();
if (_settings_game.construction.map_edge_mode != 0 && !CheckMapEdgesAreWater()) {
_settings_game.construction.map_edge_mode = 0;
}
}
/**