]> git.mxchange.org Git - flightgear.git/commitdiff
Fixed a property name typo which caused the right tank to never supply fuel.
authorcurt <curt>
Thu, 24 Apr 2003 00:55:36 +0000 (00:55 +0000)
committercurt <curt>
Thu, 24 Apr 2003 00:55:36 +0000 (00:55 +0000)
src/Network/atc610x.cxx

index 89b85c51900e465b98568590975df18d52c978c9..d4450a9bac4b80d3c235ac19a779585b88cda4bc 100644 (file)
@@ -1840,7 +1840,7 @@ bool FGATC610x::do_switches() {
     fuel1 = fuel;
     if ( fuel1 == fuel2 && fuel2 == fuel3 ) {
         fgSetBool( "/controls/fuel/tank[0]/fuel-selector", (fuel & 0x01) > 0 );
-        fgSetBool( "/controls/fuel/tabk[1]/fuel-selector", (fuel & 0x02) > 0 );
+        fgSetBool( "/controls/fuel/tank[1]/fuel-selector", (fuel & 0x02) > 0 );
     }
 
     // circuit breakers