mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 08:15:32 +00:00
f4587e48f3
(cherry picked from commit 13bb6be238
)
Conflicts:
apps/opencs/model/doc/savingstages.cpp
apps/opencs/model/world/land.cpp
apps/opencs/model/world/land.hpp
apps/opencs/model/world/landtexture.cpp
16 lines
324 B
C++
16 lines
324 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();
|
|
}
|
|
}
|