Browse Source

Some shit

master
shelru 8 years ago committed by GitHub
parent
commit
a764e2255e
  1. 4
      MiniBase/enginemsg.cpp

4
MiniBase/enginemsg.cpp

@ -209,9 +209,9 @@ void SVC_VoiceInit() {
MSG_SaveReadCount(); MSG_SaveReadCount();
char* codec = MSG_ReadString(); int bitz = MSG_ReadByte(); bool blocked; char* codec = MSG_ReadString(); int bitz = MSG_ReadByte(); bool blocked;
if(!stricmp(codec,"voice_miles")||!stricmp(codec,"voice_speex"))blocked=false; if(!stricmp(codec,"voice_miles")||!stricmp(codec,"voice_speex"))blocked=false;
else blocked=true else blocked=true;
char buffer[1024]; 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); ConsolePrintColor(255, 255, 255, buffer);
if(blocked)return; if(blocked)return;
MSG_RestoreReadCount(); MSG_RestoreReadCount();

Loading…
Cancel
Save