forked from teamnwah/openmw-tes3coop
commit
67b0d99737
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ namespace MWSound
|
||||||
SoundMap::const_iterator snditer = mActiveSounds.begin();
|
SoundMap::const_iterator snditer = mActiveSounds.begin();
|
||||||
while(snditer != mActiveSounds.end())
|
while(snditer != mActiveSounds.end())
|
||||||
{
|
{
|
||||||
if(snditer->second.first == ptr && snditer->second.second == id)
|
if(snditer->second.first == ptr && snditer->second.second == id && snditer->first->isPlaying())
|
||||||
return snditer->first->isPlaying();
|
return true;
|
||||||
++snditer;
|
++snditer;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue