From 9921ccfe25fc0924979d015b3cc0d1466a09cfc2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 12 Jun 2020 10:47:20 -0400 Subject: [PATCH] IMetaTransition: Always initialize CMetaTransTrans members Always provides a deterministic initial state. --- src/Core/Resource/Animation/IMetaTransition.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Core/Resource/Animation/IMetaTransition.h b/src/Core/Resource/Animation/IMetaTransition.h index 08714ea3..586548d1 100644 --- a/src/Core/Resource/Animation/IMetaTransition.h +++ b/src/Core/Resource/Animation/IMetaTransition.h @@ -53,11 +53,11 @@ public: class CMetaTransTrans : public IMetaTransition { EMetaTransType mType; - float mUnknownA; - uint32 mUnknownB; - bool mUnknownC; - bool mUnknownD; - uint32 mUnknownE; + float mUnknownA = 0.0f; + uint32 mUnknownB = 0; + bool mUnknownC = false; + bool mUnknownD = false; + uint32 mUnknownE = 0; public: CMetaTransTrans(EMetaTransType Type, IInputStream& rInput, EGame Game);