// and solar system
current_options.set_time_offset(time);
current_options.set_time_offset_type(fgOPTIONS::FG_TIME_GMT_ABSOLUTE);
- globals->get_time_params()->init( cur_fdm_state->get_Longitude(),
- cur_fdm_state->get_Latitude(),
- current_options.get_fg_root() );
globals->get_time_params()->update( cur_fdm_state->get_Longitude(),
cur_fdm_state->get_Latitude(),
globals->get_warp() );
// Initialize time
FGPath zone( current_options.get_fg_root() );
zone.append( "Timezone" );
- SGTime *t = new SGTime( zone.str() );
- t->init( 0.0, 0.0, zone.str() );
+ SGTime *t = new SGTime( 0.0, 0.0, zone.str() );
// Handle potential user specified time offsets
time_t cur_time = t->get_cur_time();