1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-11 06:40:34 +00:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
322 B
C++
Raw Normal View History

2013-04-14 17:04:55 +02:00
#include "cell.hpp"
#include <sstream>
void CSMWorld::Cell::load(ESM::ESMReader& esm, bool& isDeleted)
2013-04-14 17:04:55 +02:00
{
ESM::Cell::load(esm, isDeleted, false);
2013-04-14 17:04:55 +02:00
mId = mName;
if (isExterior())
2013-04-14 17:04:55 +02:00
{
std::ostringstream stream;
stream << "#" << mData.mX << " " << mData.mY;
mId = stream.str();
}
}