mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r4505) -Fix (FS#94) Ships can now be used to set up feeders as well.
This commit is contained in:
parent
caea7f845c
commit
76e2d2939a
@ -707,7 +707,7 @@ static void ShipController(Vehicle *v)
|
|||||||
st = GetStation(v->current_order.station);
|
st = GetStation(v->current_order.station);
|
||||||
if (st->facilities & FACIL_DOCK) { /* ugly, ugly workaround for problem with ships able to drop off cargo at wrong stations */
|
if (st->facilities & FACIL_DOCK) { /* ugly, ugly workaround for problem with ships able to drop off cargo at wrong stations */
|
||||||
v->current_order.type = OT_LOADING;
|
v->current_order.type = OT_LOADING;
|
||||||
v->current_order.flags &= OF_FULL_LOAD | OF_UNLOAD;
|
v->current_order.flags &= OF_FULL_LOAD | OF_UNLOAD | OF_TRANSFER;
|
||||||
v->current_order.flags |= OF_NON_STOP;
|
v->current_order.flags |= OF_NON_STOP;
|
||||||
ShipArrivesAt(v, st);
|
ShipArrivesAt(v, st);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user