1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

(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 811f0db597
commit f363f64c51

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;
}
}