1
0
Fork 0

fix uninitialized variable reported by valgrind

This commit is contained in:
Christian Schmitt 2013-09-15 15:08:06 +02:00
parent 9457ba024a
commit 9a7e32d4a9

View file

@ -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;