]> git.mxchange.org Git - flightgear.git/commitdiff
Missing initializer. Kraehe's machine was crashing on the Cub;
authorandy <andy>
Mon, 13 Mar 2006 18:57:10 +0000 (18:57 +0000)
committerandy <andy>
Mon, 13 Mar 2006 18:57:10 +0000 (18:57 +0000)
presumably this is why.

src/FDM/YASim/PistonEngine.cpp

index c2fc94fec15d4ea79d5fbed0c7f22105a56d7d72..11b04fe7a491ec0c086500c65868678f9d695edc 100644 (file)
@@ -40,6 +40,7 @@ PistonEngine::PistonEngine(float power, float speed)
     _wastegate = 1;
     _charge = 1;
     _chargeTarget = 1;
+    _turboLag = 2;
 
     // Guess at reasonable values for these guys.  Displacements run
     // at about 2 cubic inches per horsepower or so, at least for