mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 08:15:54 +00:00
14 lines
227 B
C++
14 lines
227 B
C++
|
|
||
|
#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);
|
||
|
}
|