From 46c872b3666ff8a030c9c8c02e992d1e35899d10 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 18 Feb 2007 08:50:27 +0000 Subject: (svn r8795) -Fix Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test. --- src/order_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 6bed252b6..7949c9efc 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -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; } -- cgit v1.2.3-70-g09d2