Remove use of UTIL_StringToLowwer

This commit is contained in:
Arkshine 2015-01-20 11:53:46 +01:00
parent 7f9d677f89
commit 8072f90536
2 changed files with 0 additions and 13 deletions

View File

@ -90,9 +90,6 @@ DETOUR_DECL_STATIC1(C_ClientCommand, void, edict_t*, pEdict) // void ClientComma
// to be used in OnBuy* forwards. // to be used in OnBuy* forwards.
if ((ForwardOnBuyAttempt != -1 || ForwardOnBuy != -1) && command && *command) if ((ForwardOnBuyAttempt != -1 || ForwardOnBuy != -1) && command && *command)
{ {
// Just for safety.
command = UTIL_StringToLower((char *)command);
int itemId = 0; int itemId = 0;
// Handling buy via menu. // Handling buy via menu.

View File

@ -121,13 +121,3 @@ bool UTIL_CheckForPublic(const char *publicname)
return false; return false;
} }
char *UTIL_StringToLower(char *str)
{
char *p;
for (p = str; *p != '\0'; ++p)
{
*p = tolower(*p);
}
return str;
}