]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/Balloon.cxx
Fix coordinate conventions for reporting pilot acceleration. Add a few
[flightgear.git] / src / FDM / Balloon.cxx
index dd5bc016d8f8580432532adc857e9bcbb6daa138..1bd64a8716c22dc810b6b0f7ece714528705d2a3 100644 (file)
@@ -113,9 +113,14 @@ void FGBalloonSim::init() {
 
 
 // Run an iteration of the EOM (equations of motion)
-void FGBalloonSim::update( int multiloop ) {
+void FGBalloonSim::update( double dt ) {
     double save_alt = 0.0;
 
+    if (is_suspended())
+      return;
+
+    int multiloop = _calc_multiloop(dt);
+
     // lets try to avoid really screwing up the BalloonSim model
     if ( get_Altitude() < -9000 ) {
        save_alt = get_Altitude();