]> git.mxchange.org Git - flightgear.git/commitdiff
Fix another controls overhaul problem
authorehofman <ehofman>
Tue, 1 Apr 2003 16:56:13 +0000 (16:56 +0000)
committerehofman <ehofman>
Tue, 1 Apr 2003 16:56:13 +0000 (16:56 +0000)
src/Network/atc610x.cxx

index c325670790022fdb5934fcb7dd863c7381bcfec4..4c56b590b103f783d8026ee4942b3165e367d3dc 100644 (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