Fix enabling map edge mode setting when void edge tiles were not flat
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user