mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
74e7cfc023
remove unused imports: part2 revert one tidy we will keep for c++20
26 lines
392 B
C++
26 lines
392 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;
|
|
}
|
|
|
|
}
|