mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 00:09:42 +00:00
Fix list of moved references being discarded (Fixes #1613)
This commit is contained in:
parent
df62c06acf
commit
e666ddfe18
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ void Store<ESM::Cell>::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
|
||||
|
|
Loading…
Reference in a new issue