forked from mirror/openmw-tes3mp
fixed sound removal on cell change
This commit is contained in:
parent
13409b546f
commit
978c73add5
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ namespace MWSound
|
|||
{
|
||||
// Make sure to increase the iterator before we erase it.
|
||||
it2 = it++;
|
||||
if(it->first.getCell() == cell)
|
||||
if(it2->first.getCell() == cell)
|
||||
clearAll(it2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue