mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
20 lines
382 B
C++
20 lines
382 B
C++
|
|
#include "cell.hpp"
|
|
|
|
#include <sstream>
|
|
|
|
void CSMWorld::Cell::load (ESM::ESMReader &esm)
|
|
{
|
|
mName = mId;
|
|
|
|
ESM::Cell::load (esm, true); /// \todo set this to false, once the bug in ESM::Cell::load is fixed
|
|
|
|
if (!(mData.mFlags & Interior))
|
|
{
|
|
std::ostringstream stream;
|
|
|
|
stream << "#" << mData.mX << " " << mData.mY;
|
|
|
|
mId = stream.str();
|
|
}
|
|
} |