mirror of
				https://github.com/AxioDL/PrimeWorldEditor.git
				synced 2025-10-27 12:10:37 +00:00 
			
		
		
		
	CTweakData: uint -> uint32
Makes the assumption about having a 32-bit value explicit in the class itself.
This commit is contained in:
		
							parent
							
								
									24bfee8528
								
							
						
					
					
						commit
						db7614be95
					
				| @ -14,13 +14,13 @@ class CTweakData : public CResource | |||||||
|     CScriptTemplate* mpTemplate; |     CScriptTemplate* mpTemplate; | ||||||
| 
 | 
 | ||||||
|     /** Tweak ID for MP2+ */ |     /** Tweak ID for MP2+ */ | ||||||
|     uint mTweakID; |     uint32 mTweakID; | ||||||
| 
 | 
 | ||||||
|     /** Tweak data */ |     /** Tweak data */ | ||||||
|     std::vector<uint8> mTweakData; |     std::vector<uint8> mTweakData; | ||||||
| 
 | 
 | ||||||
| public: | public: | ||||||
|     CTweakData(CScriptTemplate* pTemplate, uint TweakID, CResourceEntry* pEntry = nullptr) |     CTweakData(CScriptTemplate* pTemplate, uint32 TweakID, CResourceEntry* pEntry = nullptr) | ||||||
|         : CResource(pEntry) |         : CResource(pEntry) | ||||||
|         , mpTemplate(pTemplate) |         , mpTemplate(pTemplate) | ||||||
|         , mTweakID(TweakID) |         , mTweakID(TweakID) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user