mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
match MxStreamController::RemoveSubscriber
This commit is contained in:
parent
0032108022
commit
0fd05e5a4d
@ -87,11 +87,7 @@ void MxStreamController::AddSubscriber(MxDSSubscriber* p_subscriber)
|
||||
// FUNCTION: LEGO1 0x100c1620
|
||||
void MxStreamController::RemoveSubscriber(MxDSSubscriber* p_subscriber)
|
||||
{
|
||||
for (MxStreamListMxDSSubscriber::iterator it = m_subscriberList.begin(); it != m_subscriberList.end(); it++) {
|
||||
if (*it == p_subscriber) {
|
||||
m_subscriberList.erase(it);
|
||||
}
|
||||
}
|
||||
m_subscriberList.remove(p_subscriber);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c1690
|
||||
|
||||
Loading…
Reference in New Issue
Block a user