Improve accuracy of MxOmni::CreatePresenter

This commit is contained in:
Misha 2024-01-05 12:27:41 -04:00
parent 9a5e1cb853
commit ace27d911b
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ MxNotificationParam* MxEndActionNotificationParam::Clone()
// FUNCTION: LEGO1 0x100b0300 // FUNCTION: LEGO1 0x100b0300
MxNotificationParam* MxStartActionNotificationParam::Clone() 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 // FUNCTION: LEGO1 0x100b04f0

View File

@ -349,7 +349,7 @@ MxResult MxOmni::CreatePresenter(MxStreamController* p_controller, MxDSAction& p
if (p_action.GetUnknown84()) { if (p_action.GetUnknown84()) {
NotificationManager()->Send( NotificationManager()->Send(
p_action.GetUnknown84(), p_action.GetUnknown84(),
&MxStartActionNotificationParam(c_notificationStartAction, this, &p_action, FALSE) &MxStartActionNotificationParam(c_notificationStartAction, object, &p_action, FALSE)
); );
} }
result = SUCCESS; result = SUCCESS;