forked from mirror/openmw-tes3mp
fix for non-standard erase function
This commit is contained in:
parent
be8690e333
commit
053a2996d2
1 changed files with 7 additions and 8 deletions
|
@ -103,12 +103,11 @@ void Actors::removeCell(MWWorld::Ptr::CellStore* store){
|
||||||
{
|
{
|
||||||
if(iter->first.getCell() == store){
|
if(iter->first.getCell() == store){
|
||||||
delete iter->second;
|
delete iter->second;
|
||||||
iter = mAllActors.erase(iter);
|
mAllActors.erase(iter++);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
++iter;
|
++iter;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Actors::playAnimationGroup (const MWWorld::Ptr& ptr, const std::string& groupName, int mode, int number){
|
void Actors::playAnimationGroup (const MWWorld::Ptr& ptr, const std::string& groupName, int mode, int number){
|
||||||
|
|
Loading…
Reference in a new issue