1
0
Fork 0

Maybe fixed an altitude problem.

This commit is contained in:
curt 1999-10-15 05:35:50 +00:00
parent e577d8c7ef
commit d707c00c13

View file

@ -84,6 +84,9 @@ int FGMagicCarpet::update( int multiloop ) {
set_Geocentric_Position( lat_geoc, get_Longitude(),
sl_radius + get_Altitude() + climb );
// cout << "sea level radius (ft) = " << sl_radius << endl;
// cout << "(setto) sea level radius (ft) = " << get_Sea_level_radius() << endl;
set_Sea_level_radius( sl_radius * METER_TO_FEET);
set_Altitude( get_Altitude() + climb );
return 1;