From: curt Date: Mon, 31 Jul 2000 15:05:46 +0000 (+0000) Subject: Fix to time initialization (based on position) code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ec5fd715b7a73844ce76308a36fbd1858013c2c;p=flightgear.git Fix to time initialization (based on position) code --- 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