forked from mirror/OpenTTD
Cleanup: Remove unnecessary hangar check.
This commit is contained in:
@@ -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()) {
|
||||||
|
Reference in New Issue
Block a user