changeset 4008:83dc354451d9 draft

(svn r5219) CMD_CLEAR_AREA doesn't use p2, so don't pass anything seemingly meaningful
author tron <tron@openttd.org>
date Sat, 10 Jun 2006 20:08:19 +0000
parents c031cec6c285
children 2da0cc7f3c10
files road_gui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/road_gui.c
+++ b/road_gui.c
@@ -262,7 +262,7 @@
 					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;