mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 12:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			392 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			392 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "importscpt.hpp"
 | 
						|
 | 
						|
#include <components/esm/esmreader.hpp>
 | 
						|
 | 
						|
 | 
						|
 | 
						|
namespace ESSImport
 | 
						|
{
 | 
						|
 | 
						|
    void SCPT::load(ESM::ESMReader &esm)
 | 
						|
    {
 | 
						|
        esm.getHNT(mSCHD, "SCHD");
 | 
						|
 | 
						|
        mSCRI.load(esm);
 | 
						|
 | 
						|
        mRefNum = -1;
 | 
						|
        if (esm.isNextSub("RNAM"))
 | 
						|
        {
 | 
						|
            mRunning = true;
 | 
						|
            esm.getHT(mRefNum);
 | 
						|
        }
 | 
						|
        else
 | 
						|
            mRunning = false;
 | 
						|
    }
 | 
						|
 | 
						|
}
 |