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); CSQC_Parse_Print(sprintf("[TEAM] %s: %s", getplayerkeyvalue(fSender2, "name"), sMessage2), PRINT_CHAT);
}break; }break;
case EV_CHAT_VOX:{
Vox_Play(readstring());
}break;
case EV_VIEWMODEL:{ case EV_VIEWMODEL:{
View_PlayAnimation(readbyte()); View_PlayAnimation(readbyte());
}break; }break;

View file

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