1
0
mirror of https://github.com/r4sas/ExtraMirror synced 2025-03-12 05:11:05 +00:00

Some shit

This commit is contained in:
shelru 2017-03-27 04:22:58 +03:00 committed by GitHub
parent ee73dd2938
commit a764e2255e

View File

@ -209,9 +209,9 @@ void SVC_VoiceInit() {
MSG_SaveReadCount();
char* codec = MSG_ReadString(); int bitz = MSG_ReadByte(); bool blocked;
if(!stricmp(codec,"voice_miles")||!stricmp(codec,"voice_speex"))blocked=false;
else blocked=true
else blocked=true;
char buffer[1024];
snprintf(buffer, sizeof(buffer), "[Extra Mirror] [VoiceInit] %s [%s]\n", str,blocked?"Blocked":"Execute");
snprintf(buffer, sizeof(buffer), "[Extra Mirror] [VoiceInit] %s [%s]\n", codec,blocked?"Blocked":"Execute");
ConsolePrintColor(255, 255, 255, buffer);
if(blocked)return;
MSG_RestoreReadCount();