1
0
Fork 0

Initial units confusion fixes.

This commit is contained in:
curt 2001-04-02 03:39:43 +00:00
parent 20fb555364
commit 16b21865b8

View file

@ -425,10 +425,10 @@ bool fgInitPosition( void ) {
} }
// if requested altitude is below ground level // if requested altitude is below ground level
if ( scenery.cur_elev > if ( fgGetDouble( "/position/altitude" ) < (scenery.cur_elev + 1)
fgGetDouble("/position/altitude") * METERS_TO_FEET - 1) { * METERS_TO_FEET ) {
fgSetDouble("/position/altitude", fgSetDouble( "/position/altitude",
(scenery.cur_elev + 1) * METERS_TO_FEET ); (scenery.cur_elev + 1) * METERS_TO_FEET );
} }
SG_LOG( SG_GENERAL, SG_INFO, SG_LOG( SG_GENERAL, SG_INFO,