From: frohlich Date: Tue, 1 Aug 2006 05:56:49 +0000 (+0000) Subject: Use bool where the source and destination variable is bool. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6afe252440140c1e1fadcfe9aea2c1e31e1607f2;p=flightgear.git Use bool where the source and destination variable is bool. --- diff --git a/src/FDM/YASim/PistonEngine.hpp b/src/FDM/YASim/PistonEngine.hpp index 4aa3e5670..40d6bac52 100644 --- a/src/FDM/YASim/PistonEngine.hpp +++ b/src/FDM/YASim/PistonEngine.hpp @@ -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();