1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 20:23:54 +00:00
openmw/apps/opencs/model/world/landtexture.cpp

21 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();
}
}