1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

fix for non-standard erase function

This commit is contained in:
Marc Zinnschlag 2012-02-26 23:31:16 +01:00
parent be8690e333
commit 053a2996d2

View File

@ -103,12 +103,11 @@ void Actors::removeCell(MWWorld::Ptr::CellStore* store){
{
if(iter->first.getCell() == store){
delete iter->second;
iter = mAllActors.erase(iter);
mAllActors.erase(iter++);
}
else
++iter;
}
}
void Actors::playAnimationGroup (const MWWorld::Ptr& ptr, const std::string& groupName, int mode, int number){