changeset 6065:c6f61ab37aea draft

(svn r8795) -Fix Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test.
author tron <tron@openttd.org>
date Sun, 18 Feb 2007 08:50:27 +0000
parents 8f16a21ae25b
children 407e087ba769
files src/order_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}