# HG changeset patch # User tron # Date 1171788627 0 # Node ID c6f61ab37aea8acbdb11c6f80af17ba79dbb6b80 # Parent 8f16a21ae25b1e456706be1c881e7b7d6d34a755 (svn r8795) -Fix Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test. diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -198,7 +198,7 @@ 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; }