Skip to content

Commit 78f435f

Browse files
committed
client: prevent location from appearing in voice HUD on location change during voice chat in CS 1.6
1 parent 6e3f8c9 commit 78f435f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cl_dll/hud/radar.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@ int CHudRadar::MsgFunc_HostageK(const char *pszName, int iSize, void *pbuf)
575575

576576
int CHudRadar::MsgFunc_Location(const char *pszName, int iSize, void *pbuf)
577577
{
578+
if ( gHUD.GetGameType() != GAME_CZERO )
579+
return 0;
580+
578581
BufferReader reader( pszName, pbuf, iSize );
579582

580583
int player = reader.ReadByte();

0 commit comments

Comments
 (0)