1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-03 11:59:15 +00:00

(svn r4676) - Backport from trunk (r4505):

Fix: Ships can now be used to set up feeders as well.
This commit is contained in:
Darkvater
2006-05-02 13:37:36 +00:00
parent d5bcaec677
commit dcfd3acc8f

View File

@@ -714,7 +714,7 @@ static void ShipController(Vehicle *v)
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 */
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;
ShipArrivesAt(v, st);