mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +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)
|
if(ptr == mWatched)
|
||||||
mWatched = MWWorld::Ptr();
|
mWatched = MWWorld::Ptr();
|
||||||
mActors.removeActor(ptr);
|
mActors.removeActor(ptr);
|
||||||
|
mActivators.removeActivator(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MechanicsManager::updateCell(const MWWorld::Ptr &ptr)
|
void MechanicsManager::updateCell(const MWWorld::Ptr &ptr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user