(svn r8795) -Fix

Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
This commit is contained in:
tron 2007-02-18 08:50:27 +00:00
parent c6743c5e11
commit 46c872b366
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ int32 CmdInsertOrder(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
if (!IsValidStationID(new_order.dest)) return CMD_ERROR;
st = GetStation(new_order.dest);
if (st->owner != OWNER_NONE && !st->IsBuoy() && !CheckOwnership(st->owner)) {
if (st->owner != OWNER_NONE && !CheckOwnership(st->owner)) {
return CMD_ERROR;
}