Merge branch 'wait_in_depot-sx' into jgrpp
Conflicts: src/saveload/extended_ver_sl.cpp src/saveload/extended_ver_sl.h
This commit is contained in:
@@ -1481,6 +1481,13 @@ static void AircraftEventHandler_InHangar(Aircraft *v, const AirportFTAClass *ap
|
||||
return;
|
||||
}
|
||||
|
||||
if (v->current_order.IsWaitTimetabled()) {
|
||||
v->HandleWaiting(false);
|
||||
}
|
||||
if (v->current_order.IsType(OT_WAITING)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* if we were sent to the depot, stay there */
|
||||
if (v->current_order.IsType(OT_GOTO_DEPOT) && (v->vehstatus & VS_STOPPED)) {
|
||||
v->current_order.Free();
|
||||
|
Reference in New Issue
Block a user