From 5dc35f89fb0d74e4603d98466289c77c71287500 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:45:10 -0500 Subject: [PATCH] Update legoomni.cpp --- LEGO1/legoomni.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LEGO1/legoomni.cpp b/LEGO1/legoomni.cpp index 7307d074..64be5022 100644 --- a/LEGO1/legoomni.cpp +++ b/LEGO1/legoomni.cpp @@ -1,5 +1,6 @@ #include "legoomni.h" +#include "gifmanager.h" #include "legoanimationmanager.h" #include "legobuildingmanager.h" #include "legogamestate.h" @@ -465,13 +466,14 @@ MxResult LegoOmni::Create(MxOmniCreateParam& p) } // TODO: there are a few more classes here + m_gifManager = new GifManager(); m_plantManager = new LegoPlantManager(); m_animationManager = new LegoAnimationManager(); m_buildingManager = new LegoBuildingManager(); m_gameState = new LegoGameState(); // TODO: initialize list at m_unk78 - if (m_unk6c && m_gifManager && m_unkLegoSaveDataWriter && m_plantManager && m_animationManager && + if (m_unk6c && m_gifManager && m_unk78 && m_plantManager && m_animationManager && m_buildingManager) { // TODO: initialize a bunch of MxVariables RegisterScripts();