mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-17 21:46:38 +00:00
Local content file index is actually -1
This commit is contained in:
parent
dcac39aefd
commit
0f0a402ead
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ void CSMDoc::WriteCellCollectionStage::writeReferences(
|
|||
{
|
||||
CSMWorld::CellRef refRecord = ref.get();
|
||||
|
||||
const bool isLocal = refRecord.mRefNum.mContentFile == 0;
|
||||
const bool isLocal = refRecord.mRefNum.mContentFile == -1;
|
||||
|
||||
// -1 is the current file, saved indices are 1-based
|
||||
refRecord.mRefNum.mContentFile++;
|
||||
|
|
Loading…
Reference in a new issue