From 371d8f83862df80d6352cc06aedcf9913db72b2a Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 14 Apr 2005 22:07:39 +0000 Subject: (svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. Add CMD_REMOVE_LONG_ROAD to the 'notest' section as it might have difficulties with town ratings, etc. Read the comment for more info (mgasterix) --- command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'command.c') diff --git a/command.c b/command.c index 1fd746a3f..8506d38be 100644 --- a/command.c +++ b/command.c @@ -435,7 +435,8 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback, (cmd & 0xFF) == CMD_CLEAR_AREA || (cmd & 0xFF) == CMD_CONVERT_RAIL || (cmd & 0xFF) == CMD_LEVEL_LAND || - (cmd & 0xFF) == CMD_REMOVE_ROAD; + (cmd & 0xFF) == CMD_REMOVE_LONG_ROAD || + (cmd & 0xFF) == CMD_REMOVE_LONG_ROAD; _docommand_recursive = 1; -- cgit v1.2.3-54-g00ecf