1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 21:59:55 +00:00
openmw/components/esm/loadstat.cpp

18 lines
250 B
C++

#include "loadstat.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
namespace ESM
{
void Static::load(ESMReader &esm)
{
mModel = esm.getHNString("MODL");
}
void Static::save(ESMWriter &esm)
{
esm.writeHNCString("MODL", mModel);
}
}