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

Remove unnecessary checks for default value

parent c3ba1406
No related branches found
No related tags found
1 merge request!2175Draw Character in NiGHTS Attack
...@@ -149,14 +149,7 @@ static void Sk_SetDefaultValue(skin_t *skin) ...@@ -149,14 +149,7 @@ static void Sk_SetDefaultValue(skin_t *skin)
skin->contspeed = 17; skin->contspeed = 17;
skin->contangle = 0; skin->contangle = 0;
if (skin->flags & SF_SUPER) skin->natkcolor = SKINCOLOR_NONE;
{
skin->natkcolor = skin->supercolor+4;
}
else if (skin->flags & SF_NONIGHTSSUPER)
{
skin->natkcolor = skin->prefcolor;
}
for (i = 0; i < sfx_skinsoundslot0; i++) for (i = 0; i < sfx_skinsoundslot0; i++)
if (S_sfx[i].skinsound != -1) if (S_sfx[i].skinsound != -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment