|
|
@ -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(); |
|
|
|