forked from mirror/openmw-tes3mp
Don't remove player's sounds when unloading a cell
This commit is contained in:
parent
d51daf5875
commit
9edcc332ec
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue