From ace27d911b68ee038c25c3855c74df8fd51d4732 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:27:41 -0400 Subject: [PATCH] Improve accuracy of MxOmni::CreatePresenter --- LEGO1/mxactionnotificationparam.cpp | 2 +- LEGO1/mxomni.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/mxactionnotificationparam.cpp b/LEGO1/mxactionnotificationparam.cpp index b5d84832..49e1eeb0 100644 --- a/LEGO1/mxactionnotificationparam.cpp +++ b/LEGO1/mxactionnotificationparam.cpp @@ -18,7 +18,7 @@ MxNotificationParam* MxEndActionNotificationParam::Clone() // FUNCTION: LEGO1 0x100b0300 MxNotificationParam* MxStartActionNotificationParam::Clone() { - return new MxEndActionNotificationParam(c_notificationStartAction, this->m_sender, this->m_action, this->m_realloc); + return new MxStartActionNotificationParam(c_notificationStartAction, this->m_sender, this->m_action, this->m_realloc); } // FUNCTION: LEGO1 0x100b04f0 diff --git a/LEGO1/mxomni.cpp b/LEGO1/mxomni.cpp index 561974da..224fcc4f 100644 --- a/LEGO1/mxomni.cpp +++ b/LEGO1/mxomni.cpp @@ -349,7 +349,7 @@ MxResult MxOmni::CreatePresenter(MxStreamController* p_controller, MxDSAction& p if (p_action.GetUnknown84()) { NotificationManager()->Send( p_action.GetUnknown84(), - &MxStartActionNotificationParam(c_notificationStartAction, this, &p_action, FALSE) + &MxStartActionNotificationParam(c_notificationStartAction, object, &p_action, FALSE) ); } result = SUCCESS;