]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a propObj -> node conversion bug.
authorJames Turner <zakalawe@mac.com>
Mon, 18 Nov 2013 08:40:34 +0000 (08:40 +0000)
committerJames Turner <zakalawe@mac.com>
Mon, 18 Nov 2013 08:40:34 +0000 (08:40 +0000)
Thanks to Bertrand Coconnier for spotting this.

src/Time/TimeManager.cxx

index 8cbf18b4fcebd1ca69d0f4397a60c9f55c1765bd..99ce9642beb7593341d47aaac6060705045600b0 100644 (file)
@@ -174,7 +174,7 @@ void TimeManager::computeTimeDeltas(double& simDt, double& realDt)
     _lastClockFreeze = _clockFreeze->getBoolValue();
   }
 
-  bool wait_for_scenery = !_sceneryLoaded;
+  bool wait_for_scenery = !_sceneryLoaded->getBoolValue();
   if (!wait_for_scenery) {
     throttleUpdateRate();
   }