]> git.mxchange.org Git - flightgear.git/commitdiff
fix assertion in sunsolver.cxx with --timeofday=xx
authorTorsten Dreyer <Torsten@t3r.de>
Sat, 26 Jun 2010 19:58:45 +0000 (21:58 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Sat, 26 Jun 2010 19:58:45 +0000 (21:58 +0200)
src/Main/main.cxx

index 8df5865f83f7d0bead7e39cbfe7d93df66497138..54d4034610630169a5d96f759274cba2d297c7f1 100644 (file)
@@ -620,6 +620,7 @@ static void fgIdleFunction ( void ) {
         Ephemeris* eph = new Ephemeris;
         globals->add_subsystem("ephmeris", eph);
         eph->init(); // FIXME - remove this once SGSky code below is also a subsystem
+        eph->bind();
 
         // TODO: move to environment mgr
         thesky = new SGSky;