mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2237) - Fix (regression): [ 1192284 ] Bug: Ship refuses to add buoy to its orders (init100)
This commit is contained in:
parent
e469f69bc6
commit
6f1fc10e73
@ -166,7 +166,7 @@ int32 CmdInsertOrder(int x, int y, uint32 flags, uint32 veh_sel, uint32 packed_o
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user