Fix a crash when updating the user aircraft
This commit is contained in:
parent
aed59ea4bf
commit
2a31893862
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue