]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/SP/ACMS.cxx
Make yasim accept the launchbar and hook properties. They are not tied to anything...
[flightgear.git] / src / FDM / SP / ACMS.cxx
index cab51af0749ff45b4cc6571c299c1a04ccf61da5..c5b7eefdd23e501b3cfb756df4f7aeff6210f5bd 100644 (file)
@@ -78,7 +78,7 @@ void FGACMS::update( double dt ) {
     sgSetVec3(accel_ned, acc_lon, acc_lat, acc_down);
     double accel = sgLengthVec3 (accel_ned) * SG_FEET_TO_METER;
 
-    double velocity = (_speed->getDoubleValue() * SG_KT_TO_MPS) * accel * dt;
+    double velocity = (_speed->getDoubleValue() * SG_KT_TO_MPS) + accel * dt;
     double dist = cos (pitch) * velocity * dt;
     double kts = velocity * SG_MPS_TO_KT;
     _set_V_equiv_kts( kts );