Minor update
Missed this place during code clean-up
This commit is contained in:
parent
4043e79774
commit
5ec5c34255
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…
Add table
Reference in a new issue