From: curt Date: Wed, 20 Oct 1999 22:15:41 +0000 (+0000) Subject: Updates from Christian Mayer. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e48fe8ac430bce371136114e3c7dd57d57096d1;p=flightgear.git Updates from Christian Mayer. --- diff --git a/src/FDM/Balloon/BalloonSim.cpp b/src/FDM/Balloon/BalloonSim.cpp index c3443eec9..dc8ae6cb8 100644 --- a/src/FDM/Balloon/BalloonSim.cpp +++ b/src/FDM/Balloon/BalloonSim.cpp @@ -172,8 +172,9 @@ void balloon::update() sgVec3 v; //get the current wind velocity and store it in v - Point3D temp = WeatherDatabase->get(position).Wind; - sgSetVec3(v, temp.x(), temp.y(), temp.z()); + //Point3D temp = WeatherDatabase->get(position).Wind; + //sgSetVec3(v, temp.x(), temp.y(), temp.z()); + sgCopyVec3(v, WeatherDatabase->get(position).Wind ); sgSubVec3(v, velocity); float speed = sgLengthVec3(v);