Fix bug in CellStore::writeReferences (#7542)

macos_ci_fix
Petr Mikheev 1 year ago
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…
Cancel
Save