HAHA estoy usando el internet!!!11!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40600
This commit is contained in:
Borja Ferrer 2007-03-11 03:25:28 +00:00
parent f78b3fa086
commit d51ea0695f

View File

@ -297,9 +297,10 @@ void CUserMessages::OnMessageEnd_Post()
} }
pList = &m_msgHooks[m_CurId]; pList = &m_msgHooks[m_CurId];
for (iter=pList->begin(); iter!=pList->end(); iter++) for (iter=pList->begin(); iter!=pList->end(); )
{ {
pInfo = (*iter); pInfo = (*iter);
pInfo->IsHooked = true;
pInfo->Callback->OnUserMessageSent(m_CurId); pInfo->Callback->OnUserMessageSent(m_CurId);
if (pInfo->KillMe) if (pInfo->KillMe)
@ -413,6 +414,7 @@ void CUserMessages::OnMessageEnd_Pre()
continue; continue;
} }
pInfo->IsHooked = false;
iter++; iter++;
} }