forked from mirror/OpenTTD
(svn r8110) -Codechange: direct Vehicle::current_order.type changes (to OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
This commit is contained in:
@@ -1370,7 +1370,7 @@ static void AircraftEntersTerminal(Vehicle *v)
|
||||
}
|
||||
|
||||
old_order = v->current_order;
|
||||
v->current_order.type = OT_LOADING;
|
||||
v->BeginLoading();
|
||||
v->current_order.flags = 0;
|
||||
|
||||
if (old_order.type == OT_GOTO_STATION &&
|
||||
|
Reference in New Issue
Block a user