correct the skin change detection logic

This commit is contained in:
Bill Currie 2001-01-16 23:26:22 +00:00
parent e9ed2d1a40
commit e858fcebb5
2 changed files with 2 additions and 2 deletions

View file

@ -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 ||

View file

@ -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 ||