CScriptNode: Initialize all class variables

Provides a consistent initial state.
This commit is contained in:
Lioncash 2020-06-19 20:31:06 -04:00
parent 48e182ca80
commit 0a66503026
1 changed files with 2 additions and 2 deletions

View File

@ -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;