mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
22 lines
338 B
C++
22 lines
338 B
C++
|
#include "landtexture.hpp"
|
||
|
|
||
|
#include <components/esm/esmreader.hpp>
|
||
|
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
|
||
|
void LandTexture::load(ESM::ESMReader &esm)
|
||
|
{
|
||
|
ESM::LandTexture::load(esm);
|
||
|
|
||
|
int plugin = esm.getIndex();
|
||
|
|
||
|
std::ostringstream stream;
|
||
|
|
||
|
stream << mIndex << "_" << plugin;
|
||
|
|
||
|
mId = stream.str();
|
||
|
}
|
||
|
|
||
|
}
|