fix uninitialized variable reported by valgrind
This commit is contained in:
parent
9457ba024a
commit
9a7e32d4a9
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule *ref) :
|
||||||
headingError = 0;
|
headingError = 0;
|
||||||
minBearing = 360;
|
minBearing = 360;
|
||||||
speedFraction =1.0;
|
speedFraction =1.0;
|
||||||
|
prev_dist_to_go = 0.0;
|
||||||
|
|
||||||
holdPos = false;
|
holdPos = false;
|
||||||
needsTaxiClearance = false;
|
needsTaxiClearance = false;
|
||||||
|
|
Loading…
Reference in a new issue