]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/tmp.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Time / tmp.cxx
index c8e47b4132c507f2bacf90595e4e94b0993bfea6..12584951449417807cea82ee6eb91a881805e78f 100644 (file)
 #  include <config.h>
 #endif
 
-#include <simgear/misc/fgpath.hxx>
+#include <simgear/misc/sg_path.hxx>
 #include <simgear/magvar/magvar.hxx>
 
 #include <FDM/flight.hxx>
 #include <Main/globals.hxx>
-#include <Main/options.hxx>
 
 #include "light.hxx"
 #include "moonpos.hxx"
@@ -40,7 +39,7 @@
 
 // periodic time updater wrapper
 void fgUpdateLocalTime() {
-    FGPath zone( current_options.get_fg_root() );
+    SGPath zone( globals->get_fg_root() );
     zone.append( "Timezone" );
 
     globals->get_time_params()->updateLocal( cur_fdm_state->get_Longitude(),