(svn r4505) -Fix (FS#94) Ships can now be used to set up feeders as well.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
celestar 19 years ago
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…
Cancel
Save