From bdec9f1bba6c6f6ddb5b38aae32349d261ab4207 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 1 Mar 2006 17:45:26 +0000 Subject: [PATCH] Uninitialized member variable. Default to "turbocharged", not "supercharged" --- src/FDM/YASim/PistonEngine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FDM/YASim/PistonEngine.cpp b/src/FDM/YASim/PistonEngine.cpp index d3bd8daf8..c2fc94fec 100644 --- a/src/FDM/YASim/PistonEngine.cpp +++ b/src/FDM/YASim/PistonEngine.cpp @@ -13,6 +13,7 @@ PistonEngine::PistonEngine(float power, float speed) _running = false; _fuel = true; _boostPressure = 0; + _hasSuper = false; _oilTemp = Atmosphere::getStdTemperature(0); _oilTempTarget = _oilTemp;