]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/MagicCarpet.cxx
Tweaks to go along with changes in SGSocket.
[flightgear.git] / src / FDM / MagicCarpet.cxx
index 56cd1381d22c4b41e3bae77a839b3e6490cce926..31a428aa2e42c8a38b313e87cd6b44a0f0018fe9 100644 (file)
 // $Id$
 
 
+#include <simgear/math/fg_geodesy.hxx>
+#include <simgear/math/point3d.hxx>
+#include <simgear/math/polar3d.hxx>
+
 #include <Controls/controls.hxx>
 #include <Main/options.hxx>
-#include <Math/fg_geodesy.hxx>
-#include <Math/point3d.hxx>
-#include <Math/polar3d.hxx>
 
 #include "MagicCarpet.hxx"
 
@@ -61,6 +62,7 @@ int FGMagicCarpet::update( int multiloop ) {
 
     // update euler angles
     set_Euler_Angles( get_Phi(), get_Theta(), fmod(get_Psi() + turn, FG_2PI) );
+    set_Euler_Rates(0,0,0);
 
     // update (lon/lat) position
     double lat2, lon2, az2;