1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/opencs/model/world/ref.cpp
2013-11-05 11:41:48 +01:00

13 lines
214 B
C++

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