fixed reference loading code (editor)

actorid
Marc Zinnschlag 12 years ago
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…
Cancel
Save