1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +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);
}
}