1
0
Fork 0

Csaba/Jester : initialize all per-engine and per-tank attributes ( follow-up )

This commit is contained in:
fredb 2009-01-17 15:44:13 +00:00 committed by Tim Moore
parent 2d4a87b41c
commit 5c836d7ae8

View file

@ -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