mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
correct the skin change detection logic
This commit is contained in:
parent
e9ed2d1a40
commit
e858fcebb5
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ CL_NewTranslation (int slot)
|
|||
|
||||
strcpy (s, Info_ValueForKey (player->userinfo, "skin"));
|
||||
COM_StripExtension (s, s);
|
||||
if (player->skin && !stricmp (s, player->skin->name))
|
||||
if (player->skin && !strequal (s, player->skin->name))
|
||||
player->skin = NULL;
|
||||
|
||||
if (player->_topcolor != player->topcolor ||
|
||||
|
|
|
@ -275,7 +275,7 @@ R_TranslatePlayerSkin (int playernum)
|
|||
|
||||
strcpy (s, Info_ValueForKey (player->userinfo, "skin"));
|
||||
COM_StripExtension (s, s);
|
||||
if (player->skin && !stricmp (s, player->skin->name))
|
||||
if (player->skin && !strequal (s, player->skin->name))
|
||||
player->skin = NULL;
|
||||
|
||||
if (player->_topcolor != player->topcolor ||
|
||||
|
|
Loading…
Reference in a new issue