From e858fcebb509f910f9d1ab804cbfe552a94749dd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 16 Jan 2001 23:26:22 +0000 Subject: [PATCH] correct the skin change detection logic --- source/cl_trans.c | 2 +- source/gl_rmisc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/cl_trans.c b/source/cl_trans.c index afd39a1..d35f953 100644 --- a/source/cl_trans.c +++ b/source/cl_trans.c @@ -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 || diff --git a/source/gl_rmisc.c b/source/gl_rmisc.c index 8e5d42a..964cff8 100644 --- a/source/gl_rmisc.c +++ b/source/gl_rmisc.c @@ -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 ||