]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/ControlMap.cpp
Use bool where the source and destination variable is bool.
[flightgear.git] / src / FDM / YASim / ControlMap.cpp
index cd7174cc5545f3ec7b86fd27398052933d6e0ff5..77f9a3fd6f0537947f519324a54f924f2a411c3b 100644 (file)
@@ -215,6 +215,9 @@ void ControlMap::applyControls(float dt)
        case BOOST:
            ((PistonEngine*)((Thruster*)obj)->getEngine())->setBoost(lval);
            break;
+        case WASTEGATE:
+            ((PistonEngine*)((Thruster*)obj)->getEngine())->setWastegate(lval);
+            break;
        }
     }
 }