mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5219) CMD_CLEAR_AREA doesn't use p2, so don't pass anything seemingly meaningful
This commit is contained in:
parent
256cd2341a
commit
c9be4eed53
|
@ -262,7 +262,7 @@ static void BuildRoadToolbWndProc(Window* w, WindowEvent* e)
|
|||
CMD_REMOVE_LONG_ROAD | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1805_CAN_T_REMOVE_ROAD_FROM) :
|
||||
CMD_BUILD_LONG_ROAD | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1804_CAN_T_BUILD_ROAD_HERE));
|
||||
} else {
|
||||
DoCommandP(end_tile, start_tile, _place_road_flag, CcPlaySound10, CMD_CLEAR_AREA | CMD_MSG(STR_00B5_CAN_T_CLEAR_THIS_AREA));
|
||||
DoCommandP(end_tile, start_tile, 0, CcPlaySound10, CMD_CLEAR_AREA | CMD_MSG(STR_00B5_CAN_T_CLEAR_THIS_AREA));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue