(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.

This commit is contained in:
rubidium
2007-05-14 08:07:20 +00:00
parent e72ab0fdf5
commit 42f920964b
3 changed files with 5 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ static void CheckIfShipNeedsService(Vehicle *v)
return;
}
if (v->current_order.type == OT_LOADING) v->LeaveStation();
v->current_order.type = OT_GOTO_DEPOT;
v->current_order.flags = OF_NON_STOP;
v->current_order.dest = depot->index;