mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
21 lines
314 B
C++
21 lines
314 B
C++
|
|
#include "cell.hpp"
|
|
|
|
#include <sstream>
|
|
|
|
void CSMWorld::Cell::load (ESM::ESMReader &esm)
|
|
{
|
|
mName = mId;
|
|
|
|
ESM::Cell::load (esm, false);
|
|
|
|
if (!(mData.mFlags & Interior))
|
|
{
|
|
std::ostringstream stream;
|
|
|
|
stream << "#" << mData.mX << " " << mData.mY;
|
|
|
|
mId = stream.str();
|
|
}
|
|
}
|