This commit is contained in:
Paul 2001-07-09 16:30:49 +00:00
parent f1be12b7ec
commit 8b84cf72f6

View file

@ -351,6 +351,11 @@ void CFX::setBaseData(void *Data)
void CFX::shutdown() void CFX::shutdown()
{ {
CFXThing::shutdown(); CFXThing::shutdown();
if( m_soundId != NOT_PLAYING )
{
CSoundMediator::stopAndUnlockSfx(m_soundId);
m_soundId=NOT_PLAYING;
}
} }
/*****************************************************************************/ /*****************************************************************************/