1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-07-03 20:11:37 +00:00

fixed sound removal on cell change

This commit is contained in:
Marc Zinnschlag 2010-08-20 15:24:05 +02:00
parent 13409b546f
commit 978c73add5

View file

@ -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);
}
}