mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-19 09:27:22 -04:00
Fix bug in CellStore::writeReferences (#7542)
This commit is contained in:
parent
102826ddb6
commit
1143efd46d
@ -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…
x
Reference in New Issue
Block a user