mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 17:39:09 +00:00
(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.
This commit is contained in:
@@ -1686,6 +1686,9 @@ static void CheckIfRoadVehNeedsService(Vehicle *v)
|
||||
return;
|
||||
}
|
||||
|
||||
if (v->current_order.type == OT_LOADING) v->LeaveStation();
|
||||
ClearSlot(v);
|
||||
|
||||
v->current_order.type = OT_GOTO_DEPOT;
|
||||
v->current_order.flags = OF_NON_STOP;
|
||||
v->current_order.dest = depot->index;
|
||||
|
Reference in New Issue
Block a user