extensions/sdktools/voice.cpp
changeset 4153 5768ce963643
parent 3942 7aaa00382627
child 4268 3c383c5b1aaa
     1.1 --- a/extensions/sdktools/voice.cpp	Thu Oct 24 00:53:27 2013 -0500
     1.2 +++ b/extensions/sdktools/voice.cpp	Thu Oct 24 13:20:42 2013 -0400
     1.3 @@ -68,7 +68,7 @@
     1.4  
     1.5  bool DecHookCount()
     1.6  {
     1.7 -	if (g_VoiceHookCount == 0)
     1.8 +	if (--g_VoiceHookCount == 0)
     1.9  	{
    1.10  		SH_REMOVE_HOOK(IVoiceServer, SetClientListening, voiceserver, SH_MEMBER(&g_SdkTools, &SDKTools::OnSetClientListening), false);
    1.11  		return true;