mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
25 lines
400 B
C++
25 lines
400 B
C++
#include "importscpt.hpp"
|
|
|
|
#include <components/esm3/esmreader.hpp>
|
|
|
|
namespace ESSImport
|
|
{
|
|
|
|
void SCPT::load(ESM::ESMReader& esm)
|
|
{
|
|
esm.getHNTSized<52>(mSCHD, "SCHD");
|
|
|
|
mSCRI.load(esm);
|
|
|
|
mRefNum = -1;
|
|
if (esm.isNextSub("RNAM"))
|
|
{
|
|
mRunning = true;
|
|
esm.getHT(mRefNum);
|
|
}
|
|
else
|
|
mRunning = false;
|
|
}
|
|
|
|
}
|