1
0
Fork 0

Fix to time initialization (based on position) code

This commit is contained in:
curt 2000-07-31 15:05:46 +00:00
parent 76b4de7f1f
commit 8ec5fd715b

View file

@ -1321,8 +1321,8 @@ int main( int argc, char **argv ) {
// Initialize time
FGPath zone( current_options.get_fg_root() );
zone.append( "Timezone" );
SGTime *t = new SGTime( current_options.get_lon(),
current_options.get_lat(),
SGTime *t = new SGTime( current_options.get_lon() * DEG_TO_RAD,
current_options.get_lat() * DEG_TO_RAD,
zone.str() );
// Handle potential user specified time offsets