1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 18:53:52 +00:00
openmw/apps/opencs/model/world/ref.cpp

14 lines
227 B
C++
Raw Normal View History

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