mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Use capital letters instead of strupr usage.
This commit is contained in:
parent
58f78b4f1c
commit
73301aa716
@ -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…
Reference in New Issue
Block a user