Match MxOmni::Notify

This commit is contained in:
Christian Semmler 2023-10-07 13:50:05 -04:00
parent 8fe29412e7
commit 9bd6dba5a2

View File

@ -346,15 +346,11 @@ MxLong MxOmni::Notify(MxParam &p)
{
MxAutoLocker lock(&this->m_criticalsection);
MxLong result;
if (p.GetType() == MXSTREAMER_UNKNOWN)
{
result = HandleNotificationType2(p);
}
else
{
result = 0;
}
return result;
if (p.GetType() != MXSTREAMER_UNKNOWN)
return 0;
return HandleNotificationType2(p);
}
// OFFSET: LEGO1 0x100b0880 STUB