summaryrefslogtreecommitdiff
path: root/src/terraform_gui.c
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-01-09 21:43:32 +0000
committermaedhros <maedhros@openttd.org>2007-01-09 21:43:32 +0000
commitcfcf0c2451f0e2739d82ece4ed973676ac88e209 (patch)
tree250dd64829f92f11a4a3061b54ee146d3f8d12eb /src/terraform_gui.c
parentc5867c93f755601c47416c90eb7e10fb152fff1e (diff)
downloadopenttd-cfcf0c2451f0e2739d82ece4ed973676ac88e209.tar.xz
(svn r8014) -Codechange (r7573): When a tile is cleared, empty the general purpose bits in
extra as well, unless they are (or could be) used for bridges. This means these bits don't have to be cleared seperately when non-bridgeable tiles are removed.
Diffstat (limited to 'src/terraform_gui.c')
-rw-r--r--src/terraform_gui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/terraform_gui.c b/src/terraform_gui.c
index f0a48b2e2..8d6e1276a 100644
--- a/src/terraform_gui.c
+++ b/src/terraform_gui.c
@@ -76,12 +76,8 @@ static void GenerateRockyArea(TileIndex end, TileIndex start)
BEGIN_TILE_LOOP(tile, size_x, size_y, TileXY(sx, sy)) {
switch (GetTileType(tile)) {
case MP_CLEAR:
- MakeClear(tile, CLEAR_ROCKS, 3);
- break;
-
case MP_TREES:
MakeClear(tile, CLEAR_ROCKS, 3);
- ClearBridgeMiddle(tile);
break;
default: continue;