1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 10:53:54 +00:00
openmw/apps/essimporter/importproj.cpp

19 lines
309 B
C++
Raw Normal View History

#include "importproj.h"
#include <components/esm3/esmreader.hpp>
namespace ESSImport
{
2022-09-22 18:26:05 +00:00
void ESSImport::PROJ::load(ESM::ESMReader& esm)
{
2022-09-22 18:26:05 +00:00
while (esm.isNextSub("PNAM"))
{
PNAM pnam;
esm.getHT(pnam);
mProjectiles.push_back(pnam);
}
}
}