1
0
Fork 0

set altitude AGL

This commit is contained in:
mfranz 2006-07-06 14:24:14 +00:00
parent 42c3d8867f
commit 92272b5740

View file

@ -206,4 +206,5 @@ void FGUFO::update( double dt ) {
_update_ground_elev_at_pos();
_set_Sea_level_radius( sl_radius * SG_METER_TO_FEET);
_set_Altitude( get_Altitude() + climb );
_set_Altitude_AGL( get_Altitude() - get_Runway_altitude() );
}