mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
bc738c5640
When we call moveObject(), we might trigger a change of cell for the actor, which in turn triggers updatePtr(). The erase/emplace construct invalidate references, whereas extract/insert do not. The reason is was working before !1075 is because we were always "refreshing" the reference by a call to getActor().