This commit is contained in:
parent
f1be12b7ec
commit
8b84cf72f6
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue