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;
|
||||
|
||||
/** Tweak ID for MP2+ */
|
||||
uint mTweakID;
|
||||
uint32 mTweakID;
|
||||
|
||||
/** Tweak data */
|
||||
std::vector<uint8> mTweakData;
|
||||
|
||||
public:
|
||||
CTweakData(CScriptTemplate* pTemplate, uint TweakID, CResourceEntry* pEntry = nullptr)
|
||||
CTweakData(CScriptTemplate* pTemplate, uint32 TweakID, CResourceEntry* pEntry = nullptr)
|
||||
: CResource(pEntry)
|
||||
, mpTemplate(pTemplate)
|
||||
, mTweakID(TweakID)
|
||||
|
|
Loading…
Reference in New Issue