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 | acd6d83ca8f87049a5d2994bde4eebe3d7fb5213 (patch) | |
tree | 12f7c9a0aef2785e5c9ca5889a49e5848eb4b196 | |
parent | 8b9448f4fe27fa8ea8eb8748ef759734fd802a5d (diff) | |
download | openttd-acd6d83ca8f87049a5d2994bde4eebe3d7fb5213.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; |