From e5a57189c989c9894e9b3efb06b53822917c3c36 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 20 Apr 2004 22:54:20 +0000 Subject: [PATCH] Stub in controls for second engine master bat/alt switches. --- src/Network/atc610x.cxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Network/atc610x.cxx b/src/Network/atc610x.cxx index 5720972fb..cf592db73 100644 --- a/src/Network/atc610x.cxx +++ b/src/Network/atc610x.cxx @@ -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] ); -- 2.39.5