Minor update
Missed this place during code clean-up
This commit is contained in:
parent
6ff61836fe
commit
867508def8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue