mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 14:08:00 +03:00
Fix voice checks for spectators (#116)
This commit is contained in:
parent
cd96c9133d
commit
6186ae56c8
@ -193,7 +193,11 @@ void EXT_FUNC CHalfLifeMultiplay::__API_VHOOK(ServerDeactivate)()
|
||||
|
||||
bool CCStrikeGameMgrHelper::__MAKE_VHOOK(CanPlayerHearPlayer)(CBasePlayer *pListener, CBasePlayer *pSender)
|
||||
{
|
||||
if (!pSender->IsPlayer() || pListener->m_iTeam != pSender->m_iTeam)
|
||||
if (
|
||||
#ifndef REGAMEDLL_FIXES
|
||||
!pSender->IsPlayer() ||
|
||||
#endif
|
||||
pListener->m_iTeam != pSender->m_iTeam)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user