]> git.mxchange.org Git - flightgear.git/commitdiff
A hack to prevent a devide by zero sotuation. Should we still leave the balloon in...
authorehofman <ehofman>
Mon, 22 Mar 2004 10:59:08 +0000 (10:59 +0000)
committerehofman <ehofman>
Mon, 22 Mar 2004 10:59:08 +0000 (10:59 +0000)
src/FDM/Balloon/BalloonSim.cpp

index 968bf12cf6f56b3902a4036ea445bf15dcc6224a..76f9a524085d6292a3d3a9b9431e31e02fa38152 100644 (file)
@@ -170,7 +170,7 @@ void balloon::update()
 
    // I realy don't think there is a solution for this without WeatherCM
    // but this is a hack, and it's working -- EMH
-   double mAir = 0;
+   double mAir = 1;
    float Q = 0;
 
     // gain of energy by heating: