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
|
// Initialize time
|
||||||
FGPath zone( current_options.get_fg_root() );
|
FGPath zone( current_options.get_fg_root() );
|
||||||
zone.append( "Timezone" );
|
zone.append( "Timezone" );
|
||||||
SGTime *t = new SGTime( current_options.get_lon(),
|
SGTime *t = new SGTime( current_options.get_lon() * DEG_TO_RAD,
|
||||||
current_options.get_lat(),
|
current_options.get_lat() * DEG_TO_RAD,
|
||||||
zone.str() );
|
zone.str() );
|
||||||
|
|
||||||
// Handle potential user specified time offsets
|
// Handle potential user specified time offsets
|
||||||
|
|
Loading…
Add table
Reference in a new issue