mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 20:36: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);
|
wipecell->mLeasedRefs.erase(it_lease);
|
||||||
*itold = *it;
|
*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
|
// 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