From e099831210a55f71f7def91d2ee9fb6c3058a1eb Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 10 May 2008 02:59:52 +0000 Subject: (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) --- src/airport_gui.cpp | 2 +- src/road_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2