From: Torsten Dreyer Date: Sat, 26 Jun 2010 19:58:45 +0000 (+0200) Subject: fix assertion in sunsolver.cxx with --timeofday=xx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44667299872eef943b552d5e8684d2c96bbc2135;p=flightgear.git fix assertion in sunsolver.cxx with --timeofday=xx --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 8df5865f8..54d403461 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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;