mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-30 21:11:00 +00:00
I am pretty dumb
This commit is contained in:
parent
324108d120
commit
04980044a1
1 changed files with 1 additions and 2 deletions
|
@ -1916,8 +1916,7 @@ static INT32 LookupPlayer(const char *s)
|
||||||
{
|
{
|
||||||
/* Match name case-insensitively: fully, or partially the start. */
|
/* Match name case-insensitively: fully, or partially the start. */
|
||||||
if (playeringame[playernum])
|
if (playeringame[playernum])
|
||||||
if (stricmp(player_names[playernum], s) == 0 ||
|
if (strnicmp(player_names[playernum], s, strlen(s)) == 0)
|
||||||
strnicmp(player_names[playernum], s, strlen(s)) == 0)
|
|
||||||
{
|
{
|
||||||
return playernum;
|
return playernum;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue