diff --git a/src/Core/Scene/CScriptNode.h b/src/Core/Scene/CScriptNode.h index a6e549df..43c99dc1 100644 --- a/src/Core/Scene/CScriptNode.h +++ b/src/Core/Scene/CScriptNode.h @@ -16,8 +16,8 @@ class CScriptNode : public CSceneNode CScriptExtra *mpExtra = nullptr; TResPtr mpDisplayAsset; - uint32 mCharIndex; - uint32 mAnimIndex; + uint32 mCharIndex = 0; + uint32 mAnimIndex = 0; CCollisionNode *mpCollisionNode; std::vector mAttachments;