Fix another controls overhaul problem
This commit is contained in:
parent
7ba6807736
commit
acf65e6ff4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue