Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
434 B
Raw Blame
#include "importklst.hpp"

#include <components/esm3/esmreader.hpp>

namespace ESSImport
{

    void KLST::load(ESM::ESMReader& esm)
    {
        while (esm.isNextSub("KNAM"))
        {
            ESM::RefId refId = esm.getRefId();
            int32_t count;
            esm.getHNT(count, "CNAM");
            mKillCounter[refId] = count;
        }

        mWerewolfKills = 0;
        esm.getHNOT(mWerewolfKills, "VTNI");
    }

}