From: curt Date: Tue, 20 Apr 2004 22:54:20 +0000 (+0000) Subject: Stub in controls for second engine master bat/alt switches. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5a57189c989c9894e9b3efb06b53822917c3c36;p=flightgear.git Stub in controls for second engine master bat/alt switches. --- 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] );