forked from teamnwah/openmw-tes3coop
Make sure to remove a Ptr from the activators when requested
This commit is contained in:
parent
39cf7b0b42
commit
ee9b19d2ed
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ namespace MWMechanics
|
|||
if(ptr == mWatched)
|
||||
mWatched = MWWorld::Ptr();
|
||||
mActors.removeActor(ptr);
|
||||
mActivators.removeActivator(ptr);
|
||||
}
|
||||
|
||||
void MechanicsManager::updateCell(const MWWorld::Ptr &ptr)
|
||||
|
|
Loading…
Reference in a new issue