mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
fixed reference loading code (editor)
This commit is contained in:
parent
ce90c2f3be
commit
9f0b34eae0
@ -7,7 +7,7 @@ void CSMWorld::Cell::load (ESM::ESMReader &esm)
|
||||
{
|
||||
mName = mId;
|
||||
|
||||
ESM::Cell::load (esm, true); /// \todo set this to false, once the bug in ESM::Cell::load is fixed
|
||||
ESM::Cell::load (esm, false);
|
||||
|
||||
if (!(mData.mFlags & Interior))
|
||||
{
|
||||
|
@ -8,8 +8,6 @@ void CSMWorld::CellRef::load (ESM::ESMReader &esm, Cell& cell, const std::string
|
||||
mId = id;
|
||||
mCellId = cell.mId;
|
||||
|
||||
cell.getNextRef (esm, *this);
|
||||
|
||||
if (!mDeleted)
|
||||
cell.addRef (mId);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user