mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 08:09:41 +00:00
Merge branch 'fix_cellstore' into 'master'
Fix bug in CellStore::writeReferences (#7542) Closes #7542 See merge request OpenMW/openmw!3380
This commit is contained in:
commit
b866483ca1
1 changed files with 2 additions and 0 deletions
|
@ -1021,6 +1021,8 @@ namespace MWWorld
|
|||
for (const auto& [base, store] : mMovedToAnotherCell)
|
||||
{
|
||||
ESM::RefNum refNum = base->mRef.getRefNum();
|
||||
if (base->mData.isDeleted() && !refNum.hasContentFile())
|
||||
continue; // filtered out in writeReferenceCollection
|
||||
ESM::RefId movedTo = store->getCell()->getId();
|
||||
|
||||
writer.writeFormId(refNum, true, "MVRF");
|
||||
|
|
Loading…
Reference in a new issue