From 7432d653420deab28075631bda8f0f10273fc596 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 21 Jul 2020 16:16:03 -0700 Subject: [PATCH] Parenthesis --- src/dehacked.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dehacked.c b/src/dehacked.c index 9a19833a9..a856ab352 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -812,7 +812,7 @@ static void readskincolor(MYFILE *f, INT32 num) deh_strlcpy(truncword, word2, namesize, va("Skincolor %d: name", num)); // truncate here to check for dupes dupecheck = R_GetColorByName(truncword); - if (truncword[0] != '\0' && (!stricmp(truncword, skincolors[SKINCOLOR_NONE].name) || dupecheck && dupecheck != num)) + if (truncword[0] != '\0' && (!stricmp(truncword, skincolors[SKINCOLOR_NONE].name) || (dupecheck && dupecheck != num))) { size_t lastchar = strlen(truncword); char oldword[lastchar+1];