Skip to content
Snippets Groups Projects
Commit 8390996a authored by Zwip-Zwap Zapony's avatar Zwip-Zwap Zapony Committed by Mari0shi
Browse files

Remove unneeded check that prevents certain P_SKIN functionality

parent fc342c6d
Branches
No related tags found
1 merge request!2175Draw Character in NiGHTS Attack
...@@ -646,13 +646,7 @@ static boolean R_ProcessPatchableFields(skin_t *skin, char *stoken, char *value) ...@@ -646,13 +646,7 @@ static boolean R_ProcessPatchableFields(skin_t *skin, char *stoken, char *value)
#undef GETFLAG #undef GETFLAG
else if (!stricmp(stoken, "natkcolor")) else if (!stricmp(stoken, "natkcolor"))
{ skin->natkcolor = R_GetColorByName(value); // SKINCOLOR_NONE is allowed here
UINT16 color = R_GetColorByName(value);
if (color)
{
skin->natkcolor = color;
}
}
else // let's check if it's a sound, otherwise error out else // let's check if it's a sound, otherwise error out
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment