]> git.mxchange.org Git - flightgear.git/commitdiff
Use bool where the source and destination variable is bool.
authorfrohlich <frohlich>
Tue, 1 Aug 2006 05:56:49 +0000 (05:56 +0000)
committerfrohlich <frohlich>
Tue, 1 Aug 2006 05:56:49 +0000 (05:56 +0000)
src/FDM/YASim/PistonEngine.hpp

index 4aa3e5670541b9dcbfaa8350e723e9a9d0bea94b..40d6bac52e5dcbbca5cf98e7d012b74548eb5b8a 100644 (file)
@@ -15,7 +15,7 @@ public:
     void setDisplacement(float d);
     void setCompression(float c);
     void setWastegate(float norm) { _wastegate = norm; }
-    void setSupercharger(float hasSuper) { _hasSuper = hasSuper; }
+    void setSupercharger(bool hasSuper) { _hasSuper = hasSuper; }
     void setTurboLag(float lag) { _turboLag = lag; }
 
     bool isCranking();