1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

21 lines
314 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)
{
mName = mId;
2013-08-29 13:27:54 +02:00
ESM::Cell::load (esm, false);
2013-04-14 17:04:55 +02:00
if (!(mData.mFlags & Interior))
{
std::ostringstream stream;
stream << "#" << mData.mX << " " << mData.mY;
mId = stream.str();
}
}