From 2e58ce2fd92102f608104ab5de687ec52a6d95d4 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(-) 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-70-g09d2