mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
This commit is contained in:
parent
68a1d75d9e
commit
e099831210
|
@ -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;
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue