mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Make sure to remove a Ptr from the activators when requested
This commit is contained in:
parent
39cf7b0b42
commit
ee9b19d2ed
@ -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…
x
Reference in New Issue
Block a user