1
0
mirror of https://github.com/r4sas/ExtraMirror synced 2025-02-03 10:25:53 +00:00

Update enginemsg.cpp

This commit is contained in:
shelru 2017-03-26 01:43:20 +03:00 committed by GitHub
parent 51218371dd
commit feb8c3b610

View File

@ -205,16 +205,16 @@ void SVC_Director(){
MSG_RestoreReadCount();
pSVC_Director();
}
void SVC_VoiceInit(){
void SVC_VoiceInit() {
MSG_SaveReadCount();
char* codec = MSG_ReadString();int bit = MSG_ReadByte();
char str[1024];
strncpy(str, command, sizeof(str));
char* codec = MSG_ReadString(); int bitz = MSG_ReadByte();
char str[1024], bit[15]; sprintf(bit, "%d", bitz);
strncpy(str, codec, sizeof(str));
str[sizeof(str) - 1] = 0;
ConsolePrintColor(255, 255, 255, "[Extra Mirror] voiceinit: ");
ConsolePrintColor(255, 255, 255, (" %s - ", str));
ConsolePrintColor(255, 255, 255, (" %s - ", codec));
ConsolePrintColor(255, 255, 255, (" %d", bit));
ConsolePrintColor(255, 255, 255, (" %s", bit));
ConsolePrintColor(255, 255, 255, "\n");
MSG_RestoreReadCount();
pSVC_VoiceInit();