mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Stop all sounds of the given id
This commit is contained in:
parent
8a69f676ec
commit
4801661b34
@ -603,10 +603,8 @@ namespace MWSound
|
||||
SoundIndexPairList::iterator sndidx = snditer->second.begin();
|
||||
for(;sndidx != snditer->second.end();++sndidx)
|
||||
{
|
||||
if(sndidx->second != sfxid)
|
||||
continue;
|
||||
sndidx->first->stop();
|
||||
return;
|
||||
if(sndidx->second == sfxid)
|
||||
sndidx->first->stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user