mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge remote-tracking branch 'remotes/netreplays/double-cmp-fix' into new_netreplays
This commit is contained in:
commit
18f34bc182
1 changed files with 1 additions and 2 deletions
|
|
@ -1919,8 +1919,7 @@ static INT32 LookupPlayer(const char *s)
|
|||
{
|
||||
/* Match name case-insensitively: fully, or partially the start. */
|
||||
if (playeringame[playernum])
|
||||
if (stricmp(player_names[playernum], s) == 0 ||
|
||||
strnicmp(player_names[playernum], s, strlen(s)) == 0)
|
||||
if (strnicmp(player_names[playernum], s, strlen(s)) == 0)
|
||||
{
|
||||
return playernum;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue