]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/Balloon.cxx
Fix from Dave to get JSBSim engine startups working again.
[flightgear.git] / src / FDM / Balloon.cxx
index 8cd245ed53e980b37c19f2cb6414b6da9395890d..86e0f7156c3621874d0298eb55154b5f1ca3d739 100644 (file)
@@ -121,7 +121,7 @@ bool FGBalloonSim::update( int multiloop ) {
     }
 
     // set control positions
-    current_balloon.set_burner_strength ( controls.get_throttle(0) );
+    current_balloon.set_burner_strength ( globals->get_controls()->get_throttle(0) );
     //not more implemented yet
 
     // Inform BalloonSim of the local terrain altitude