From: Gijs de Rooy Date: Mon, 25 Jan 2016 15:38:57 +0000 (+0100) Subject: Fix #1744: disable commradio when unserviceable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e7c3c5c89c77b20121abe94cd23310d59d407e3;p=flightgear.git Fix #1744: disable commradio when unserviceable --- diff --git a/src/Instrumentation/commradio.cxx b/src/Instrumentation/commradio.cxx index 102cca5f1..854ee87e6 100644 --- a/src/Instrumentation/commradio.cxx +++ b/src/Instrumentation/commradio.cxx @@ -653,7 +653,7 @@ void CommRadioImpl::update(double dt) } #endif - if (false == (_power_btn)) { + if (false == (_power_btn) || false == (_serviceable)) { _metarBridge->clearMetar(); _atis = ""; _stationTTL = 0.0;