Browse Source

Use capital letters instead of strupr usage.

fix-cwd-path
Andrey Akhmichin 2 years ago
parent
commit
73301aa716
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 6
      cl_dll/voice_status.cpp

6
cl_dll/voice_status.cpp

@ -80,16 +80,14 @@ int g_BannedPlayerPrintCount;
void ForEachBannedPlayer(char id[16]) void ForEachBannedPlayer(char id[16])
{ {
char str[256]; char str[256];
sprintf(str, "Ban %d: %2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x\n", sprintf(str, "BAN %d: %2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X%2X\n",
g_BannedPlayerPrintCount++, g_BannedPlayerPrintCount++,
id[0], id[1], id[2], id[3], id[0], id[1], id[2], id[3],
id[4], id[5], id[6], id[7], id[4], id[5], id[6], id[7],
id[8], id[9], id[10], id[11], id[8], id[9], id[10], id[11],
id[12], id[13], id[14], id[15] id[12], id[13], id[14], id[15]
); );
#ifdef _WIN32
strupr(str);
#endif
gEngfuncs.pfnConsolePrint(str); gEngfuncs.pfnConsolePrint(str);
} }

Loading…
Cancel
Save