mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 19:06:40 +00:00
More dead code removal.
This commit is contained in:
parent
fea1ac2c0f
commit
ae4ddd810f
1 changed files with 1 additions and 4 deletions
|
@ -19,9 +19,8 @@ void CSMWorld::RefCollection::load (ESM::ESMReader& reader, int cellIndex, bool
|
||||||
ESM::MovedCellRef mref;
|
ESM::MovedCellRef mref;
|
||||||
mref.mRefNum.mIndex = 0;
|
mref.mRefNum.mIndex = 0;
|
||||||
bool isDeleted = false;
|
bool isDeleted = false;
|
||||||
int tempRefCount = cell.get().mRefNumCounter; // if initially non-zero, all refs in cell are temp
|
|
||||||
|
|
||||||
while (ESM::Cell::getNextRef(reader, ref, isDeleted, &tempRefCount, true, &mref))
|
while (ESM::Cell::getNextRef(reader, ref, isDeleted, true, &mref))
|
||||||
{
|
{
|
||||||
// Keep mOriginalCell empty when in modified (as an indicator that the
|
// Keep mOriginalCell empty when in modified (as an indicator that the
|
||||||
// original cell will always be equal the current cell).
|
// original cell will always be equal the current cell).
|
||||||
|
@ -60,8 +59,6 @@ void CSMWorld::RefCollection::load (ESM::ESMReader& reader, int cellIndex, bool
|
||||||
else
|
else
|
||||||
ref.mCell = cell2.mId;
|
ref.mCell = cell2.mId;
|
||||||
|
|
||||||
// TODO: update cell.get().mRefNumCounter with tempRefCount?
|
|
||||||
|
|
||||||
mref.mRefNum.mIndex = 0;
|
mref.mRefNum.mIndex = 0;
|
||||||
|
|
||||||
// ignore content file number
|
// ignore content file number
|
||||||
|
|
Loading…
Reference in a new issue