Fix to time initialization (based on position) code
This commit is contained in:
parent
76b4de7f1f
commit
8ec5fd715b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue