diff options
author | Darkvater <darkvater@openttd.org> | 2005-04-14 22:07:39 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-04-14 22:07:39 +0000 |
commit | 2e58ce2fd92102f608104ab5de687ec52a6d95d4 (patch) | |
tree | 3b1e96a1d8dc38e735149e9061249d5b1686df04 | |
parent | d5bcf62e5c44773ba779c4229f607d6978e7d61e (diff) | |
download | openttd-2e58ce2fd92102f608104ab5de687ec52a6d95d4.tar.xz |
(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)
-rw-r--r-- | command.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |