From: Torsten Dreyer Date: Thu, 11 Dec 2014 10:20:34 +0000 (+0100) Subject: Shut off spoken atis if radio's power button is off X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b750e9d8b5a42a89709a524fe9a0d620008686ae;p=flightgear.git Shut off spoken atis if radio's power button is off --- diff --git a/src/Instrumentation/commradio.cxx b/src/Instrumentation/commradio.cxx index 9a05c9c08..9c8265a6e 100644 --- a/src/Instrumentation/commradio.cxx +++ b/src/Instrumentation/commradio.cxx @@ -514,6 +514,8 @@ void CommRadioImpl::update(double dt) #endif if (false == (_power_btn)) { + _metarBridge->clearMetar(); + _atis = ""; _stationTTL = 0.0; return; }