Initialize a couple values before using them.
This commit is contained in:
parent
3c7bdc31d9
commit
d03087c3df
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ FGControls::FGControls() :
|
||||||
APU_bleed( false ),
|
APU_bleed( false ),
|
||||||
mode( 0 ),
|
mode( 0 ),
|
||||||
dump( false ),
|
dump( false ),
|
||||||
|
outflow_valve( 0.0 ),
|
||||||
taxi_light( false ),
|
taxi_light( false ),
|
||||||
logo_lights( false ),
|
logo_lights( false ),
|
||||||
nav_lights( false ),
|
nav_lights( false ),
|
||||||
|
@ -196,6 +197,7 @@ FGControls::init ()
|
||||||
reverser[engine] = false;
|
reverser[engine] = false;
|
||||||
water_injection[engine] = false;
|
water_injection[engine] = false;
|
||||||
nitrous_injection[engine] = false;
|
nitrous_injection[engine] = false;
|
||||||
|
cowl_flaps_norm[engine] = 0.0;
|
||||||
condition[engine] = 0;
|
condition[engine] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue