1
0
Fork 0

Fix a crash when updating the user aircraft

This commit is contained in:
James Turner 2018-04-27 23:32:28 +01:00
parent aed59ea4bf
commit 2a31893862

View file

@ -358,7 +358,7 @@ void FGAIAircraft::ProcessFlightPlan( double dt, time_t now ) {
}
announcePositionToController();
if (fp) {
if (fp && props) {
props->getChild("arrival-time-sec", 0, true)->setIntValue(fp->getArrivalTime());
}
}