1
0
Fork 0

Minor update

Missed this place during code clean-up
This commit is contained in:
ThorstenB 2011-01-10 21:19:51 +01:00
parent 6ff61836fe
commit 867508def8

View file

@ -444,7 +444,7 @@ void FGAIAircraft::getGroundElev(double dt) {
void FGAIAircraft::doGroundAltitude() {
if ((fabs(altitude_ft - (tgt_altitude_ft+groundOffset)) > 1000.0)||
(fabs(speed)<0.0001))
(isStationary()))
altitude_ft = (tgt_altitude_ft + groundOffset);
else
altitude_ft += 0.1 * ((tgt_altitude_ft+groundOffset) - altitude_ft);