summaryrefslogtreecommitdiff
path: root/apps/essimporter/importscpt.cpp
blob: 4df46ddc8d6b9c30c485ea8ba3657a86eddd23ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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;
    }

}