mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 19:49:41 +00:00
fixed reference loading code (editor)
This commit is contained in:
parent
ce90c2f3be
commit
9f0b34eae0
2 changed files with 1 additions and 3 deletions
|
@ -7,7 +7,7 @@ void CSMWorld::Cell::load (ESM::ESMReader &esm)
|
||||||
{
|
{
|
||||||
mName = mId;
|
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))
|
if (!(mData.mFlags & Interior))
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,8 +8,6 @@ void CSMWorld::CellRef::load (ESM::ESMReader &esm, Cell& cell, const std::string
|
||||||
mId = id;
|
mId = id;
|
||||||
mCellId = cell.mId;
|
mCellId = cell.mId;
|
||||||
|
|
||||||
cell.getNextRef (esm, *this);
|
|
||||||
|
|
||||||
if (!mDeleted)
|
if (!mDeleted)
|
||||||
cell.addRef (mId);
|
cell.addRef (mId);
|
||||||
}
|
}
|
Loading…
Reference in a new issue