Merge branch 'next-compile-now' into 'next'

AND OR PARENTHESIS

See merge request STJr/SRB2!1083
This commit is contained in:
James R 2020-07-22 22:08:31 -04:00
commit 57d7c1ab12

View file

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