Merge branch 'master' into jgrpp
# Conflicts: # src/clear_cmd.cpp # src/main_gui.cpp # src/saveload/newgrf_sl.cpp # src/water_cmd.cpp
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "landscape.h"
|
||||
#include "genworld.h"
|
||||
#include "viewport_func.h"
|
||||
#include "water.h"
|
||||
#include "core/random_func.hpp"
|
||||
#include "newgrf_generic.h"
|
||||
#include "newgrf_newlandscape.h"
|
||||
@@ -330,14 +329,6 @@ static void TileLoopClearDesert(TileIndex tile)
|
||||
|
||||
static void TileLoop_Clear(TileIndex tile)
|
||||
{
|
||||
/* If the tile is at any edge flood it to prevent maps without water. */
|
||||
if (_settings_game.construction.freeform_edges && DistanceFromEdge(tile) == 1) {
|
||||
int z;
|
||||
if (IsTileFlat(tile, &z) && z == 0) {
|
||||
DoFloodTile(tile);
|
||||
return;
|
||||
}
|
||||
}
|
||||
AmbientSoundEffect(tile);
|
||||
|
||||
switch (_settings_game.game_creation.landscape) {
|
||||
|
Reference in New Issue
Block a user