]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/kr_87.cxx
#545: Fix ATC chatter sound settings being ignored
[flightgear.git] / src / Instrumentation / kr_87.cxx
index 0fa58012ecad43bfcc3fa86a86950eaa0800be6a..8ea39569ca485bd7f66ea023a9b4390c56c9fd71 100644 (file)
@@ -524,7 +524,9 @@ void FGKR_87::search() {
            xyz = adf->cart();
 
            if ( _sgr->exists( "adf-ident" ) ) {
-               _sgr->remove( "adf-ident" );
+               // stop is required! -- remove alone wouldn't stop immediately
+               _sgr->stop( "adf-ident" );
+               _sgr->remove( "adf-ident" );
            }
            SGSoundSample *sound;
         sound = FGMorse::instance()->make_ident( trans_ident, FGMorse::LO_FREQUENCY );