]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsim/c172_engine.c
Bertrand Coconnier: bug fix for #184, JSBSim: command line arguments
[flightgear.git] / src / FDM / LaRCsim / c172_engine.c
index 4b3f784a66e292c8c607752b0ee713e73eb9b7bf..64632a2d103557b79d4005c0da57f080bd855ff1 100644 (file)
@@ -77,7 +77,7 @@ void c172_engine( SCALAR dt, int init ) {
     Throttle[3] = Throttle_pct;
 
     
-    if ( Throttle_pct >= 0 ) {
+    if ( ! Use_External_Engine ) {
        /* do a crude engine power calc based on throttle position */
        v=V_rel_wind;
        h=Altitude;