Fix enabling map edge mode setting when void edge tiles were not flat

This commit is contained in:
Jonathan G Rennison
2024-01-13 13:33:01 +00:00
parent 8ae1587987
commit 55683c4350
3 changed files with 36 additions and 10 deletions

View File

@@ -474,8 +474,8 @@ void FixSlopes()
}
}
extern bool CheckMapEdgesAreWater();
if (_settings_game.construction.map_edge_mode != 0 && !CheckMapEdgesAreWater()) {
extern bool CheckMapEdgesAreWater(bool allow_non_flat_void);
if (_settings_game.construction.map_edge_mode != 0 && !CheckMapEdgesAreWater(false)) {
_settings_game.construction.map_edge_mode = 0;
}
}