summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-05-19 01:51:57 +0000
committerbelugas <belugas@openttd.org>2008-05-19 01:51:57 +0000
commit5f0c2b27be7304f5bd148806fd4c760434058de9 (patch)
tree4339f3c8da5f4dd5e81e11aab64a6025e6b9baaa /src/terraform_gui.cpp
parent1d9ad55edaea8b4314c85fd93c3687f6ae66f887 (diff)
downloadopenttd-5f0c2b27be7304f5bd148806fd4c760434058de9.tar.xz
(svn r13177) -Fix[FS#2002]: Using level tool in scenario editor makes tiles brown. That is the only tool that does so in Scenario Editor (apart dynamite, of course).Report and Fix by Roujin
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 9b6c5d6b9..44d112eb3 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -347,8 +347,6 @@ static void CommonRaiseLowerBigLand(TileIndex tile, int mode)
int sizex, sizey;
uint h;
- _generating_world = true; // used to create green terraformed land
-
if (_terraform_size == 1) {
StringID msg =
mode ? STR_0808_CAN_T_RAISE_LAND_HERE : STR_0809_CAN_T_LOWER_LAND_HERE;
@@ -384,8 +382,6 @@ static void CommonRaiseLowerBigLand(TileIndex tile, int mode)
}
} END_TILE_LOOP(tile2, sizex, sizey, tile)
}
-
- _generating_world = false;
}
static void PlaceProc_RaiseBigLand(TileIndex tile)