Add typed field-flight prototype and preserve native qualification failures
This commit is contained in:
@@ -13,9 +13,10 @@ modded class ERR_AircraftService
|
||||
{
|
||||
ERR_AircraftRouteFlight ERR_NativeOriginalFlight(Vehicle aircraft)
|
||||
{
|
||||
ERR_AircraftRouteFlight flight = null;
|
||||
ERR_AircraftServiceEntry entry = Find(aircraft);
|
||||
if (entry) return entry.Flight;
|
||||
return null;
|
||||
if (entry) flight = ERR_AircraftRouteFlight.Cast(entry.Flight);
|
||||
return flight;
|
||||
}
|
||||
}
|
||||
modded class SCR_CharacterControllerComponent
|
||||
|
||||
Reference in New Issue
Block a user