mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 21:56:41 +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;
 | |
|     }
 | |
| 
 | |
| }
 |