summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-04 18:18:46 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-04 18:18:46 +0000
commit9299f76af42eb4c8ca8d7077fc60f87c2d962047 (patch)
tree508479974d8c96e3bbe1e304ace061d91d4a6d71 /src/main_gui.cpp
parent6a1306793108d0ebd51c8d79b8bb8cecd77a6ef6 (diff)
downloadopenttd-9299f76af42eb4c8ca8d7077fc60f87c2d962047.tar.xz
(svn r11759) -Feature: Add drag-n-drop support to the raise/lower land tools. Land is raised/lowered at the start and the rest of the area levelled to match. Patch by Roujin.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index cf4ef3d54..73a51f6e5 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1382,6 +1382,8 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
case DDSP_CREATE_ROCKS:
case DDSP_CREATE_DESERT:
case DDSP_CREATE_WATER:
+ case DDSP_RAISE_AND_LEVEL_AREA:
+ case DDSP_LOWER_AND_LEVEL_AREA:
case DDSP_LEVEL_AREA:
case DDSP_DEMOLISH_AREA:
GUIPlaceProcDragXY(e);