diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/airport_gui.cpp | 2 | ||||
-rw-r--r-- | src/road_gui.cpp | 2 |
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: |