mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 03:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "importproj.h"
 | 
						|
 | 
						|
#include <components/esm3/esmreader.hpp>
 | 
						|
 | 
						|
namespace ESSImport
 | 
						|
{
 | 
						|
 | 
						|
    void ESSImport::PROJ::load(ESM::ESMReader& esm)
 | 
						|
    {
 | 
						|
        while (esm.isNextSub("PNAM"))
 | 
						|
        {
 | 
						|
            PNAM pnam;
 | 
						|
            esm.getHT(pnam);
 | 
						|
            mProjectiles.push_back(pnam);
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
}
 |