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

This commit is contained in:
celestar 2006-04-21 19:47:52 +00:00
parent caea7f845c
commit 76e2d2939a

View File

@ -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);