Uninitialized member variable. Default to "turbocharged", not "supercharged"
This commit is contained in:
parent
45e76b357e
commit
bdec9f1bba
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ PistonEngine::PistonEngine(float power, float speed)
|
|||
_running = false;
|
||||
_fuel = true;
|
||||
_boostPressure = 0;
|
||||
_hasSuper = false;
|
||||
|
||||
_oilTemp = Atmosphere::getStdTemperature(0);
|
||||
_oilTempTarget = _oilTemp;
|
||||
|
|
Loading…
Reference in a new issue