From 1784f87e24fc604e155fc5051bc43e30f1813221 Mon Sep 17 00:00:00 2001 From: fant1kua Date: Thu, 19 Dec 2019 10:31:00 +0200 Subject: [PATCH] Fix voice API bug (#469) --- regamedll/dlls/multiplay_gamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/multiplay_gamerules.cpp b/regamedll/dlls/multiplay_gamerules.cpp index 091a928a..1adf6246 100644 --- a/regamedll/dlls/multiplay_gamerules.cpp +++ b/regamedll/dlls/multiplay_gamerules.cpp @@ -167,7 +167,7 @@ bool CCStrikeGameMgrHelper::GetCanHearPlayer(CBasePlayer* pListener, CBasePlayer int listener = pListener->entindex() - 1; int sender = pSender->entindex() - 1; - return m_iCanHearMasks[listener][sender] == TRUE; + return m_iCanHearMasks[listener][sender] != FALSE; } #endif