1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
2013-07-06 17:06:06 +02:00

15 lines
251 B
C++

#include "ref.hpp"
#include "cell.hpp"
void CSMWorld::CellRef::load (ESM::ESMReader &esm, Cell& cell, const std::string& id)
{
mId = id;
mCellId = cell.mId;
cell.getNextRef (esm, *this);
if (!mDeleted)
cell.addRef (mId);
}