mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Mostly match MxStreamer::Notify
This commit is contained in:
parent
56687e86fb
commit
b4b73465d0
1 changed files with 3 additions and 6 deletions
|
@ -183,13 +183,10 @@ MxLong MxStreamer::Notify(MxParam& p_param)
|
|||
|
||||
MxStreamController* c = static_cast<MxStreamerNotification&>(p_param).GetController();
|
||||
|
||||
if (!c->FUN_100c20d0(ds)) {
|
||||
MxStreamerNotification notif(MXSTREAMER_DELETE_NOTIFY, NULL, c);
|
||||
NotificationManager()->Send(this, ¬if);
|
||||
}
|
||||
else {
|
||||
if (c->FUN_100c20d0(ds))
|
||||
delete c;
|
||||
}
|
||||
else
|
||||
NotificationManager()->Send(this, &MxStreamerNotification(MXSTREAMER_DELETE_NOTIFY, NULL, c));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue