mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 12:53:52 +00:00
16 lines
322 B
C++
16 lines
322 B
C++
#include "cell.hpp"
|
|
|
|
#include <sstream>
|
|
|
|
void CSMWorld::Cell::load(ESM::ESMReader& esm, bool& isDeleted)
|
|
{
|
|
ESM::Cell::load(esm, isDeleted, false);
|
|
|
|
mId = mName;
|
|
if (isExterior())
|
|
{
|
|
std::ostringstream stream;
|
|
stream << "#" << mData.mX << " " << mData.mY;
|
|
mId = stream.str();
|
|
}
|
|
}
|