author | tron |
Sat, 17 Feb 2007 14:54:31 +0000 | |
changeset 6048 | 01a2ed479bf0 |
parent 6047 | 8c4ef3aa6af8 |
child 6049 | 687015af5ef8 |
src/order_cmd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/order_cmd.cpp Sat Feb 17 13:50:22 2007 +0000 +++ b/src/order_cmd.cpp Sat Feb 17 14:54:31 2007 +0000 @@ -198,7 +198,7 @@ if (!IsValidStationID(new_order.dest)) return CMD_ERROR; st = GetStation(new_order.dest); - if (st->airport_type != AT_OILRIG && !st->IsBuoy() && !CheckOwnership(st->owner)) { + if (st->owner != OWNER_NONE && !st->IsBuoy() && !CheckOwnership(st->owner)) { return CMD_ERROR; }