1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 03:39:55 +00:00

ignore deleted references that did not came from a content file

This commit is contained in:
Marc Zinnschlag 2014-01-23 12:53:55 +01:00
parent 419e3a7d30
commit 460089c0aa

View File

@ -49,6 +49,9 @@ namespace
iter (collection.mList.begin());
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;
iter->save (state);