HAHA estoy usando el internet!!!11!
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40600
This commit is contained in:
parent
f78b3fa086
commit
d51ea0695f
@ -297,9 +297,10 @@ void CUserMessages::OnMessageEnd_Post()
|
||||
}
|
||||
|
||||
pList = &m_msgHooks[m_CurId];
|
||||
for (iter=pList->begin(); iter!=pList->end(); iter++)
|
||||
for (iter=pList->begin(); iter!=pList->end(); )
|
||||
{
|
||||
pInfo = (*iter);
|
||||
pInfo->IsHooked = true;
|
||||
pInfo->Callback->OnUserMessageSent(m_CurId);
|
||||
|
||||
if (pInfo->KillMe)
|
||||
@ -413,6 +414,7 @@ void CUserMessages::OnMessageEnd_Pre()
|
||||
continue;
|
||||
}
|
||||
|
||||
pInfo->IsHooked = false;
|
||||
iter++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user