mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 18:32:36 +00:00
18 lines
362 B
C++
18 lines
362 B
C++
#include "landtexture.hpp"
|
|
|
|
#include <components/esm/esmreader.hpp>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
void LandTexture::load(ESM::ESMReader &esm, bool &isDeleted)
|
|
{
|
|
ESM::LandTexture::load(esm, isDeleted);
|
|
int plugin = esm.getIndex();
|
|
|
|
std::ostringstream stream;
|
|
stream << mIndex << "_" << plugin;
|
|
mId = stream.str();
|
|
}
|
|
|
|
}
|