mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 06:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			272 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 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);
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
}
 |