CScriptNode: Initialize all class variables
Provides a consistent initial state.
This commit is contained in:
parent
48e182ca80
commit
0a66503026
|
@ -16,8 +16,8 @@ class CScriptNode : public CSceneNode
|
|||
CScriptExtra *mpExtra = nullptr;
|
||||
|
||||
TResPtr<CResource> mpDisplayAsset;
|
||||
uint32 mCharIndex;
|
||||
uint32 mAnimIndex;
|
||||
uint32 mCharIndex = 0;
|
||||
uint32 mAnimIndex = 0;
|
||||
CCollisionNode *mpCollisionNode;
|
||||
std::vector<CScriptAttachNode*> mAttachments;
|
||||
|
||||
|
|
Loading…
Reference in New Issue