]> git.mxchange.org Git - flightgear.git/commitdiff
Working on ssg-ifying sky.
authorcurt <curt>
Mon, 6 Mar 2000 23:29:24 +0000 (23:29 +0000)
committercurt <curt>
Mon, 6 Mar 2000 23:29:24 +0000 (23:29 +0000)
src/Time/fg_time.cxx

index daabe0e3ec0ebd014538acfc3a2e5791f6a184ad..21379092c0d3a7a393095062f1851a0272fab9a9 100644 (file)
@@ -53,7 +53,6 @@
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/fgpath.hxx>
 
-// #include <Astro/skydome.hxx>
 #include <Astro/solarsystem.hxx>
 #include <FDM/flight.hxx>
 #include <Main/options.hxx>
@@ -101,7 +100,7 @@ FGTime::~FGTime()
 void FGTime::updateLocal()
 {
   FGInterface* f;
-  f = current_aircraft.fdm_state;
+  f = cur_fdm_state;
   time_t currGMT;
   time_t aircraftLocalTime;
   GeoCoord location(RAD_TO_DEG * f->get_Latitude(),