From 738b1c7b9f79d238b6499811496072650760b035 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 13 Dec 2023 05:59:57 -0500 Subject: [PATCH] Fixes --- LEGO1/mxcompositepresenter.cpp | 8 ++++---- LEGO1/mxcompositepresenter.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LEGO1/mxcompositepresenter.cpp b/LEGO1/mxcompositepresenter.cpp index 4d276b34..7685fe57 100644 --- a/LEGO1/mxcompositepresenter.cpp +++ b/LEGO1/mxcompositepresenter.cpp @@ -123,8 +123,8 @@ MxLong MxCompositePresenter::Notify(MxParam& p_param) // FUNCTION: LEGO1 0x100b67f0 void MxCompositePresenter::VTable0x58(MxEndActionNotificationParam& p_param) { - MxPresenter* presenter = (MxPresenter*) p.GetSender(); - MxDSAction* action = p.GetAction(); + MxPresenter* presenter = (MxPresenter*) p_param.GetSender(); + MxDSAction* action = p_param.GetAction(); MxCompositePresenterList::iterator it; if (!m_list.empty()) { @@ -166,7 +166,7 @@ void MxCompositePresenter::VTable0x58(MxEndActionNotificationParam& p_param) void MxCompositePresenter::VTable0x5c(MxNotificationParam& p_param) { if (!m_list.empty()) { - MxPresenter* presenter = (MxPresenter*) p.GetSender(); + MxPresenter* presenter = (MxPresenter*) p_param.GetSender(); for (MxCompositePresenterList::iterator it = m_list.begin(); it != m_list.end(); it++) { if (*it == presenter) { @@ -196,7 +196,7 @@ void MxCompositePresenter::VTable0x5c(MxNotificationParam& p_param) } } - NotificationManager()->Send(this, &p); + NotificationManager()->Send(this, &p_param); } } diff --git a/LEGO1/mxcompositepresenter.h b/LEGO1/mxcompositepresenter.h index f6e79e5a..30dc170d 100644 --- a/LEGO1/mxcompositepresenter.h +++ b/LEGO1/mxcompositepresenter.h @@ -37,7 +37,7 @@ class MxCompositePresenter : public MxPresenter { virtual void VTable0x58(MxEndActionNotificationParam& p_param); // vtable+0x58 virtual void VTable0x5c(MxNotificationParam& p_param); // vtable+0x5c virtual void VTable0x60(MxPresenter* p_presenter); // vtable+0x60 - virtual MxBool VTable0x64(undefined4 p_unknown); // vtable+0x64 + virtual MxBool VTable0x64(undefined4 p_undefined); // vtable+0x64 private: MxCompositePresenterList m_list; // 0x40