mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Merge branch 'next-compile-now' into 'next'
AND OR PARENTHESIS See merge request STJr/SRB2!1083
This commit is contained in:
commit
57d7c1ab12
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue