mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove strcmp
from file score
This commit is contained in:
parent
501f1061a9
commit
4aeeedbbea
|
@ -6,7 +6,6 @@
|
|||
#include <engine/shared/config.h>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <string.h>
|
||||
#include "../gamemodes/DDRace.h"
|
||||
#include "file_score.h"
|
||||
#include <engine/shared/console.h>
|
||||
|
@ -167,7 +166,7 @@ CFileScore::CPlayerScore *CFileScore::SearchName(const char *pName,
|
|||
Found++;
|
||||
pPlayer = &r.front();
|
||||
}
|
||||
if (!strcmp(r.front().m_aName, pName))
|
||||
if (!str_comp(r.front().m_aName, pName))
|
||||
return &r.front();
|
||||
}
|
||||
Pos++;
|
||||
|
|
Loading…
Reference in a new issue