1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 17:19:56 +00:00
openmw-tes3mp/apps/opencs/model/world/cell.cpp

21 lines
314 B
C++
Raw Normal View History

2013-04-14 15:04:55 +00:00
#include "cell.hpp"
#include <sstream>
void CSMWorld::Cell::load (ESM::ESMReader &esm)
{
mName = mId;
2013-08-29 11:27:54 +00:00
ESM::Cell::load (esm, false);
2013-04-14 15:04:55 +00:00
if (!(mData.mFlags & Interior))
{
std::ostringstream stream;
stream << "#" << mData.mX << " " << mData.mY;
mId = stream.str();
}
}