From: ehofman Date: Mon, 22 Mar 2004 10:59:08 +0000 (+0000) Subject: A hack to prevent a devide by zero sotuation. Should we still leave the balloon in... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f08625d64decbbbd9fe92d14a91befd89873bfb3;p=flightgear.git A hack to prevent a devide by zero sotuation. Should we still leave the balloon in CVS without WeatherCM? --- diff --git a/src/FDM/Balloon/BalloonSim.cpp b/src/FDM/Balloon/BalloonSim.cpp index 968bf12cf..76f9a5240 100644 --- a/src/FDM/Balloon/BalloonSim.cpp +++ b/src/FDM/Balloon/BalloonSim.cpp @@ -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: