1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 12:39:53 +00:00

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

17 lines
372 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
2023-01-19 17:31:45 +01:00
mId = ESM::RefId::stringRefId(mName);
if (isExterior())
2013-04-14 17:04:55 +02:00
{
std::ostringstream stream;
stream << "#" << mData.mX << " " << mData.mY;
mId = ESM::RefId::stringRefId(stream.str());
2013-04-14 17:04:55 +02:00
}
}