summaryrefslogtreecommitdiff
path: root/apps/essimporter/importscpt.cpp
blob: 5760d8b4385f6059e5295fb8b8a94b900d288a2c (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
#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;
    }

}