]> git.mxchange.org Git - flightgear.git/commitdiff
Stub in controls for second engine master bat/alt switches.
authorcurt <curt>
Tue, 20 Apr 2004 22:54:20 +0000 (22:54 +0000)
committercurt <curt>
Tue, 20 Apr 2004 22:54:20 +0000 (22:54 +0000)
src/Network/atc610x.cxx

index 5720972fb7101f7f4c6b795563580d0e7ff5ee9e..cf592db738cdc914499c86a22d4a2701ddec7c62 100644 (file)
@@ -1767,8 +1767,16 @@ bool FGATC610x::do_switches() {
     update_switch_matrix( board, switch_data, switch_matrix );
 
     // master switches
-    fgSetBool( "/controls/switches/master-bat", switch_matrix[board][5][1] );
-    fgSetBool( "/controls/switches/master-alt", switch_matrix[board][4][1] );
+    fgSetBool( "/controls/engines/engine[0]/master-bat",
+               switch_matrix[board][5][1] );
+    fgSetBool( "/controls/engines/engine[1]/master-bat",
+               switch_matrix[board][5][1] );
+
+    fgSetBool( "/controls/engines/engine[0]/master-alt",
+               switch_matrix[board][4][1] );
+    fgSetBool( "/controls/engines/engine[1]/master-alt",
+               switch_matrix[board][4][1] );
+
     fgSetBool( "/controls/switches/master-avionics",
                switch_matrix[board][0][3] );