bug fix, optimization

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402135
This commit is contained in:
David Anderson 2008-05-10 19:21:11 +00:00
parent f1ef53cdff
commit aee95b6c74

View File

@ -132,13 +132,16 @@ void SDKTools::OnClientDisconnecting(int client)
{
if (i == client)
{
break;
continue;
}
if (g_VoiceMap[i][client] != LISTEN_DEFAULT)
{
g_VoiceMap[i][client] = LISTEN_DEFAULT;
DecHookCount();
if (DecHookCount())
{
return;
}
}
}