Csaba/Jester : initialize all per-engine and per-tank attributes ( follow-up )
This commit is contained in:
parent
2d4a87b41c
commit
5c836d7ae8
1 changed files with 4 additions and 3 deletions
|
@ -228,9 +228,10 @@ FGControls::init ()
|
|||
to_engine[tank] = 0;
|
||||
to_tank[tank] = 0;
|
||||
}
|
||||
|
||||
// controls/fuel/tank[n]/pump[p]/
|
||||
bool boost_pump[MAX_TANKS * MAX_BOOSTPUMPS];
|
||||
|
||||
for( int pump = 0; pump < MAX_TANKS * MAX_BOOSTPUMPS; pump++ ) {
|
||||
boost_pump[pump] = false;
|
||||
}
|
||||
|
||||
brake_left = brake_right
|
||||
= copilot_brake_left = copilot_brake_right
|
||||
|
|
Loading…
Add table
Reference in a new issue