From 8ec5fd715b7a73844ce76308a36fbd1858013c2c Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 31 Jul 2000 15:05:46 +0000 Subject: [PATCH] Fix to time initialization (based on position) code --- src/Main/main.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 1afd19c32..ce4189d4e 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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