Fix voice API bug (#469)

This commit is contained in:
fant1kua 2019-12-19 10:31:00 +02:00 committed by Dmitry Novikov
parent dd6141eae7
commit 1784f87e24

View File

@ -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