Remove deprecated EV_CHAT_VOX.

This commit is contained in:
Marco Cawthorne 2021-10-20 01:21:49 +02:00
parent 3c3715d77a
commit 6a711ee759
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 2 additions and 5 deletions

View File

@ -137,9 +137,6 @@ ClientGame_EventParse(float fHeader)
CSQC_Parse_Print(sprintf("[TEAM] %s: %s", getplayerkeyvalue(fSender2, "name"), sMessage2), PRINT_CHAT);
}break;
case EV_CHAT_VOX:{
Vox_Play(readstring());
}break;
case EV_VIEWMODEL:{
View_PlayAnimation(readbyte());
}break;

View File

@ -62,9 +62,9 @@ Game_ParseClientCommand(string cmd)
string timestring;
float timeleft;
timeleft = cvar("mp_timelimit") - (time / 60);
timestring = Vox_TimeToString(timeleft);
timestring = Util_TimeToString(timeleft);
msg = sprintf("we have %s minutes remaining", timestring);
Vox_Singlecast(self, msg);
bprint(PRINT_CHAT, msg);
return;
}