Make sure to remove a Ptr from the activators when requested

This commit is contained in:
Chris Robinson 2013-02-04 12:04:06 -08:00
parent 39cf7b0b42
commit ee9b19d2ed

View file

@ -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)