Changeset - r15440:46e2c17b11f1
[Not reviewed]
master
0 1 0
terkhen - 14 years ago 2010-07-09 16:41:51
terkhen@openttd.org
(svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/road_cmd.cpp
Show inline comments
 
@@ -861,6 +861,9 @@ CommandCost CmdRemoveLongRoad(TileIndex 
 
				had_success = true;
 
			} else {
 
				last_error = ret;
 

	
 
				/* Ownership errors are more important. */
 
				if (last_error.GetErrorMessage() == STR_ERROR_OWNED_BY) break;
 
			}
 
		}
 

	
0 comments (0 inline, 0 general)