order_cmd.c
changeset 1733 11882997283e
parent 1718 cef0773365eb
child 1751 954dd2900ac9
--- a/order_cmd.c	Thu Apr 28 17:42:13 2005 +0000
+++ b/order_cmd.c	Sat Apr 30 10:49:47 2005 +0000
@@ -166,7 +166,7 @@
 			st = GetStation(new_order.station);
 
 			if (!IsValidStation(st) ||
-					(st->airport_type != AT_OILRIG && !CheckOwnership(st->owner))) {
+					(st->airport_type != AT_OILRIG && !(st->had_vehicle_of_type & HVOT_BUOY) && !CheckOwnership(st->owner))) {
 				return CMD_ERROR;
 			}