Don't remove player's sounds when unloading a cell

deque
scrawl 10 years ago
parent d51daf5875
commit 9edcc332ec

@ -454,6 +454,7 @@ namespace MWSound
while(snditer != mActiveSounds.end())
{
if(snditer->second.first != MWWorld::Ptr() &&
snditer->second.first.getCellRef().getRefId() != "player" &&
snditer->second.first.getCell() == cell)
{
snditer->first->stop();

Loading…
Cancel
Save