From 90e866d2d53b9ca67281cab932a6110140c682a2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 12 Mar 2020 17:35:33 -0400 Subject: [PATCH] CFrontEndUI: Default initialize SFrontEndFrame's x4_action to EAction::None This is the initial value that GM8E v0 assigns to this member variable. Previously it was being left uninitialized on construction. --- Runtime/MP1/CFrontEndUI.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/MP1/CFrontEndUI.hpp b/Runtime/MP1/CFrontEndUI.hpp index d0244bf79..8bbc37798 100644 --- a/Runtime/MP1/CFrontEndUI.hpp +++ b/Runtime/MP1/CFrontEndUI.hpp @@ -225,7 +225,7 @@ public: enum class EAction { None, StartGame, FusionBonus, GameOptions, SlideShow }; u32 x0_rnd; - EAction x4_action; + EAction x4_action = EAction::None; TLockedToken x8_frme; CGuiFrame* x14_loadedFrme = nullptr; CGuiTableGroup* x18_tablegroup_mainmenu = nullptr;