2013-04-14 15:04:55 +00:00
|
|
|
|
|
|
|
#include "cell.hpp"
|
|
|
|
|
|
|
|
#include <sstream>
|
|
|
|
|
2015-07-21 17:25:43 +00:00
|
|
|
void CSMWorld::Cell::load (ESM::ESMReader &esm, bool &isDeleted)
|
2013-04-14 15:04:55 +00:00
|
|
|
{
|
2015-07-21 17:25:43 +00:00
|
|
|
ESM::Cell::load (esm, isDeleted, false);
|
2013-04-14 15:04:55 +00:00
|
|
|
|
2015-07-13 07:40:11 +00:00
|
|
|
mId = mName;
|
2015-07-21 17:25:43 +00:00
|
|
|
if (isExterior())
|
2013-04-14 15:04:55 +00:00
|
|
|
{
|
|
|
|
std::ostringstream stream;
|
|
|
|
stream << "#" << mData.mX << " " << mData.mY;
|
|
|
|
mId = stream.str();
|
|
|
|
}
|
2013-06-08 10:45:13 +00:00
|
|
|
}
|