1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 13:19:40 +00:00

fixed reference loading code (editor)

This commit is contained in:
Marc Zinnschlag 2013-08-29 13:27:54 +02:00
parent ce90c2f3be
commit 9f0b34eae0
2 changed files with 1 additions and 3 deletions

View file

@ -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))
{ {

View file

@ -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);
} }