mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
13 lines
216 B
C++
13 lines
216 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;
|
|
|
|
if (!mDeleted)
|
|
cell.addRef (mId);
|
|
} |