mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-03 09:15:23 +03:00
update voice mask for spectator/unassigned etc
This commit is contained in:
parent
0627574b6f
commit
bfa30daadb
@ -171,7 +171,11 @@ void CVoiceGameMgr::UpdateMasks(void)
|
||||
{
|
||||
CBaseEntity *pEnt = UTIL_PlayerByIndex(iClient + 1);
|
||||
|
||||
if (!pEnt || !pEnt->IsPlayer())
|
||||
if (!pEnt
|
||||
#ifndef REGAMEDLL_FIXES
|
||||
|| !pEnt->IsPlayer()
|
||||
#endif // REGAMEDLL_FIXES
|
||||
)
|
||||
continue;
|
||||
|
||||
CBasePlayer *pPlayer = (CBasePlayer *)pEnt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user