1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 15:45:33 +00:00
openmw/apps/essimporter/importcrec.cpp

21 lines
398 B
C++
Raw Normal View History

#include "importcrec.hpp"
#include <components/esm/esmreader.hpp>
namespace ESSImport
{
void CREC::load(ESM::ESMReader &esm)
{
esm.getHNT(mIndex, "INDX");
// equivalent of ESM::Creature XSCL? probably don't have to convert this,
// since the value can't be changed
float scale;
esm.getHNOT(scale, "XSCL");
mInventory.load(esm);
}
}