]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.hxx
Fix for SF bug #3171743 - P-factor does not take into account the thruster pitch...
[flightgear.git] / src / FDM / flight.hxx
index 6965d30983e401c520e49eabaf8b0d8124439ef9..35ae2550a900924e25987fb9c63ccd008fe12829 100644 (file)
@@ -552,6 +552,7 @@ public:
 
     inline double get_V_ground_speed() const { return v_ground_speed; }
     inline double get_V_ground_speed_kt() const { return v_ground_speed * SG_FEET_TO_METER * 3600 * SG_METER_TO_NM; }
+    inline void   set_V_ground_speed_kt(double ground_speed) { v_ground_speed = ground_speed / ( SG_FEET_TO_METER * 3600 * SG_METER_TO_NM); }
 
     inline double get_V_equiv_kts() const { return v_equiv_kts; }