1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

17 lines
324 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();
}
}