mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Don't remove player's sounds when unloading a cell
This commit is contained in:
parent
d51daf5875
commit
9edcc332ec
@ -454,6 +454,7 @@ namespace MWSound
|
|||||||
while(snditer != mActiveSounds.end())
|
while(snditer != mActiveSounds.end())
|
||||||
{
|
{
|
||||||
if(snditer->second.first != MWWorld::Ptr() &&
|
if(snditer->second.first != MWWorld::Ptr() &&
|
||||||
|
snditer->second.first.getCellRef().getRefId() != "player" &&
|
||||||
snditer->second.first.getCell() == cell)
|
snditer->second.first.getCell() == cell)
|
||||||
{
|
{
|
||||||
snditer->first->stop();
|
snditer->first->stop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user