mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 22:45:33 +00:00
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)
|
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…
Reference in a new issue