summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-05-10 02:59:52 +0000
committerbelugas <belugas@openttd.org>2008-05-10 02:59:52 +0000
commite099831210a55f71f7def91d2ee9fb6c3058a1eb (patch)
tree9ef4315d24647a9adcbe97375f57e54a049bcf9f /src
parent68a1d75d9e351fa28db90937b5dae0f2d0cd2ff3 (diff)
downloadopenttd-e099831210a55f71f7def91d2ee9fb6c3058a1eb.tar.xz
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
Diffstat (limited to 'src')
-rw-r--r--src/airport_gui.cpp2
-rw-r--r--src/road_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index f3b960b74..b19469ce2 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -95,7 +95,7 @@ static void BuildAirToolbWndProc(Window *w, WindowEvent *e)
case WE_PLACE_MOUSEUP:
if (e->we.place.pt.x != -1 && e->we.place.select_proc == DDSP_DEMOLISH_AREA) {
- DoCommandP(e->we.place.tile, e->we.place.starttile, 0, CcPlaySound10, CMD_CLEAR_AREA | CMD_MSG(STR_00B5_CAN_T_CLEAR_THIS_AREA));
+ GUIPlaceProcDragXY(e);
}
break;
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 511aa44a6..216d6bc01 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -574,7 +574,7 @@ static void BuildRoadToolbWndProc(Window *w, WindowEvent *e)
break;
case DDSP_DEMOLISH_AREA:
- DoCommandP(end_tile, start_tile, 0, CcPlaySound10, CMD_CLEAR_AREA | CMD_MSG(STR_00B5_CAN_T_CLEAR_THIS_AREA));
+ GUIPlaceProcDragXY(e);
break;
case DDSP_PLACE_ROAD_X_DIR: