mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
fixed sound removal on cell change
This commit is contained in:
parent
13409b546f
commit
978c73add5
@ -257,7 +257,7 @@ namespace MWSound
|
|||||||
{
|
{
|
||||||
// Make sure to increase the iterator before we erase it.
|
// Make sure to increase the iterator before we erase it.
|
||||||
it2 = it++;
|
it2 = it++;
|
||||||
if(it->first.getCell() == cell)
|
if(it2->first.getCell() == cell)
|
||||||
clearAll(it2);
|
clearAll(it2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user