From e666ddfe189bc1ce6da631dbc609cfab1d9d04f5 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 1 Jul 2014 21:42:11 +0200 Subject: [PATCH] Fix list of moved references being discarded (Fixes #1613) --- apps/openmw/mwworld/store.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwworld/store.cpp b/apps/openmw/mwworld/store.cpp index fdeb290e5..e2a3b5436 100644 --- a/apps/openmw/mwworld/store.cpp +++ b/apps/openmw/mwworld/store.cpp @@ -90,6 +90,8 @@ void Store::load(ESM::ESMReader &esm, const std::string &id) wipecell->mLeasedRefs.erase(it_lease); *itold = *it; } + else + oldcell->mMovedRefs.push_back(*it); } // We don't need to merge mLeasedRefs of cell / oldcell. This list is filled when another cell moves a