mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-03 17:25:24 +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);
|
CBaseEntity *pEnt = UTIL_PlayerByIndex(iClient + 1);
|
||||||
|
|
||||||
if (!pEnt || !pEnt->IsPlayer())
|
if (!pEnt
|
||||||
|
#ifndef REGAMEDLL_FIXES
|
||||||
|
|| !pEnt->IsPlayer()
|
||||||
|
#endif // REGAMEDLL_FIXES
|
||||||
|
)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
CBasePlayer *pPlayer = (CBasePlayer *)pEnt;
|
CBasePlayer *pPlayer = (CBasePlayer *)pEnt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user