diff options
author | tron <tron@openttd.org> | 2006-06-10 20:08:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-10 20:08:19 +0000 |
commit | c9be4eed53496ddd33eaaeedfe10eacbb2f3a107 (patch) | |
tree | 12f7c9a0aef2785e5c9ca5889a49e5848eb4b196 | |
parent | 256cd2341a4f771f19e11dfc3b630185667a0779 (diff) | |
download | openttd-c9be4eed53496ddd33eaaeedfe10eacbb2f3a107.tar.xz |
(svn r5219) CMD_CLEAR_AREA doesn't use p2, so don't pass anything seemingly meaningful
-rw-r--r-- | road_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_gui.c b/road_gui.c index ea69aa69e..7bf3cfd12 100644 --- a/road_gui.c +++ b/road_gui.c @@ -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; |