]> git.mxchange.org Git - flightgear.git/commitdiff
Wrong sense in the pilot acceleration coordinates (or maybe it's a panel
authorandy <andy>
Wed, 27 Feb 2002 08:24:37 +0000 (08:24 +0000)
committerandy <andy>
Wed, 27 Feb 2002 08:24:37 +0000 (08:24 +0000)
bug?  I'm not sure what points where anymore).

src/FDM/YASim/YASim.cxx

index e2b6d1e093bab268c863aa6fce43d5efe0652a90..118d14aab50e4b8ef61bf5e1d68ccba6dc6d5c71 100644 (file)
@@ -1,5 +1,3 @@
-#include <stdio.h>
-
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/xml/easyxml.hxx>
@@ -386,7 +384,7 @@ void YASim::copyFromYASim()
     _set_Accels_CG_Body(M2FT*v[0], -M2FT*v[1], -M2FT*v[2]);
 
     _fdm->getAirplane()->getPilotAccel(v);
-    _set_Accels_Pilot_Body(M2FT*v[0], -M2FT*v[1], -M2FT*v[2]);
+    _set_Accels_Pilot_Body(M2FT*v[0], M2FT*v[1], -M2FT*v[2]);
 
     // The one appears (!) to want inverted pilot acceleration
     // numbers, in G's...