This commit is contained in:
Christian Semmler 2023-12-13 05:59:57 -05:00
parent 1d45f25c64
commit 738b1c7b9f
2 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}

View File

@ -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