summaryrefslogtreecommitdiff
path: root/road_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-10 20:08:19 +0000
committertron <tron@openttd.org>2006-06-10 20:08:19 +0000
commitc9be4eed53496ddd33eaaeedfe10eacbb2f3a107 (patch)
tree12f7c9a0aef2785e5c9ca5889a49e5848eb4b196 /road_gui.c
parent256cd2341a4f771f19e11dfc3b630185667a0779 (diff)
downloadopenttd-c9be4eed53496ddd33eaaeedfe10eacbb2f3a107.tar.xz
(svn r5219) CMD_CLEAR_AREA doesn't use p2, so don't pass anything seemingly meaningful
Diffstat (limited to 'road_gui.c')
-rw-r--r--road_gui.c2
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;