Mercurial > hg > openttd
diff src/order_cmd.cpp @ 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 | 8ea5a4436c44 |
children | 0364a445b332 |
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; }