mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
25 lines
391 B
C++
25 lines
391 B
C++
#include "importscpt.hpp"
|
|
|
|
#include <components/esm3/esmreader.hpp>
|
|
|
|
namespace ESSImport
|
|
{
|
|
|
|
void SCPT::load(ESM::ESMReader& esm)
|
|
{
|
|
esm.getHNT(mSCHD, "SCHD");
|
|
|
|
mSCRI.load(esm);
|
|
|
|
mRefNum = -1;
|
|
if (esm.isNextSub("RNAM"))
|
|
{
|
|
mRunning = true;
|
|
esm.getHT(mRefNum);
|
|
}
|
|
else
|
|
mRunning = false;
|
|
}
|
|
|
|
}
|