mirror of https://github.com/OpenTTD/OpenTTD
Cleanup: Remove unnecessary hangar check.
parent
68ff3fd062
commit
c4e6d80ecf
|
@ -1587,7 +1587,7 @@ static void AircraftEventHandler_AtTerminal(Aircraft *v, const AirportFTAClass *
|
||||||
return;
|
return;
|
||||||
default: // orders have been deleted (no orders), goto depot and don't bother us
|
default: // orders have been deleted (no orders), goto depot and don't bother us
|
||||||
v->current_order.Free();
|
v->current_order.Free();
|
||||||
go_to_hangar = Station::Get(v->targetairport)->airport.HasHangar();
|
go_to_hangar = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (go_to_hangar && Station::Get(v->targetairport)->airport.HasHangar()) {
|
if (go_to_hangar && Station::Get(v->targetairport)->airport.HasHangar()) {
|
||||||
|
|
Loading…
Reference in New Issue