mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
19 lines
272 B
C++
19 lines
272 B
C++
|
#include "importproj.h"
|
||
|
|
||
|
#include <components/esm/esmreader.hpp>
|
||
|
|
||
|
namespace ESSImport
|
||
|
{
|
||
|
|
||
|
void ESSImport::PROJ::load(ESM::ESMReader& esm)
|
||
|
{
|
||
|
while (esm.isNextSub("PNAM"))
|
||
|
{
|
||
|
PNAM pnam;
|
||
|
esm.getHT(pnam);
|
||
|
mProjectiles.push_back(pnam);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|