(svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads.

This commit is contained in:
terkhen 2010-07-09 16:41:51 +00:00
parent 454144474a
commit ca7172bc94

View File

@ -861,6 +861,9 @@ CommandCost CmdRemoveLongRoad(TileIndex start_tile, DoCommandFlag flags, uint32
had_success = true;
} else {
last_error = ret;
/* Ownership errors are more important. */
if (last_error.GetErrorMessage() == STR_ERROR_OWNED_BY) break;
}
}