1
0
Fork 0

Fix another controls overhaul problem

This commit is contained in:
ehofman 2003-04-01 16:56:13 +00:00
parent 7ba6807736
commit acf65e6ff4

View file

@ -1832,8 +1832,8 @@ bool FGATC610x::do_switches() {
fuel2 = fuel1;
fuel1 = fuel;
if ( fuel1 == fuel2 && fuel2 == fuel3 ) {
fgSetBool( "/controls/fuel-selector[0]", (fuel & 0x01) > 0 );
fgSetBool( "/controls/fuel-selector[1]", (fuel & 0x02) > 0 );
fgSetBool( "/controls/fuel/tank[0]/fuel-selector", (fuel & 0x01) > 0 );
fgSetBool( "/controls/fuel/tabk[1]/fuel-selector", (fuel & 0x02) > 0 );
}
// circuit breakers