]> git.mxchange.org Git - flightgear.git/commitdiff
Updates from Christian Mayer.
authorcurt <curt>
Wed, 20 Oct 1999 22:15:41 +0000 (22:15 +0000)
committercurt <curt>
Wed, 20 Oct 1999 22:15:41 +0000 (22:15 +0000)
src/FDM/Balloon/BalloonSim.cpp

index c3443eec9d251e5806f256313acee96224be9562..dc8ae6cb8c1ff0b2a7e93504cd89cc1b673b1fcf 100644 (file)
@@ -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);