openmw-tes3coop/apps/opencs/model/world/ref.cpp
Marc Zinnschlag 94ec05c2c6 Revert "simplifying CSMWorld::CellRef"
With the refactored collection class we can now handle the more complex load function

This reverts commit 97f421df8a.
2013-06-18 11:27:05 +02:00

14 lines
No EOL
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);
}