mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 12:39:53 +00:00
ignore deleted references that did not came from a content file
This commit is contained in:
parent
419e3a7d30
commit
460089c0aa
@ -49,6 +49,9 @@ namespace
|
|||||||
iter (collection.mList.begin());
|
iter (collection.mList.begin());
|
||||||
iter!=collection.mList.end(); ++iter)
|
iter!=collection.mList.end(); ++iter)
|
||||||
{
|
{
|
||||||
|
if (iter->mData.getCount()==0 && iter->mRef.mRefNum.mContentFile==-1)
|
||||||
|
continue; // deleted file that did not came from a content file -> ignore
|
||||||
|
|
||||||
RecordType state;
|
RecordType state;
|
||||||
iter->save (state);
|
iter->save (state);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user