From 5e44e3b617ea80794b43479ebdd85ea216211bf2 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 9 Jul 2001 15:56:00 +0000 Subject: [PATCH] --- source/fx/fxsteam.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/fx/fxsteam.cpp b/source/fx/fxsteam.cpp index 3616845e4..3c48c0773 100644 --- a/source/fx/fxsteam.cpp +++ b/source/fx/fxsteam.cpp @@ -60,6 +60,12 @@ void CFXSteam::killFX() } ShadeDec=DefShadeDieDec; ScaleInc=0; + + if( m_soundId != NOT_PLAYING ) + { + CSoundMediator::stopAndUnlockSfx(m_soundId); + m_soundId=NOT_PLAYING; + } } /*****************************************************************************/