From c6278c0e9facb676332dddd61a851f774e9465f0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Apr 2020 16:41:24 -0400 Subject: [PATCH] CCompoundTargetReticle: Initialize all data members Provides deterministic initial state. --- Runtime/GuiSys/CCompoundTargetReticle.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/GuiSys/CCompoundTargetReticle.hpp b/Runtime/GuiSys/CCompoundTargetReticle.hpp index 6a6b4da8b..dec5f904d 100644 --- a/Runtime/GuiSys/CCompoundTargetReticle.hpp +++ b/Runtime/GuiSys/CCompoundTargetReticle.hpp @@ -120,9 +120,9 @@ private: bool x219_missileShot = false; bool x21a_fullyCharged = false; u8 x21b_ = 0; - u32 x21c_; - u32 x220_; - u32 x228_; + u32 x21c_ = 0; + u32 x220_ = 0; + u32 x228_ = 0; struct SScanReticuleRenderer { std::optional m_lineRenderers[2];