Choose Flicky Fish Color by Thing Parameter
This commit is contained in:
parent
f7c80f3980
commit
904ff6fccb
32
src/p_mobj.c
32
src/p_mobj.c
|
@ -10435,6 +10435,38 @@ ML_EFFECT4 : Don't clip inside the ground
|
|||
|
||||
break;
|
||||
}
|
||||
case MT_FLICKY_08:
|
||||
if (mthing->extrainfo == 1)
|
||||
mobj->color = SKINCOLOR_RED;
|
||||
else if (mthing->extrainfo == 2)
|
||||
mobj->color = SKINCOLOR_CYAN;
|
||||
else if (mthing->extrainfo == 3)
|
||||
mobj->color = SKINCOLOR_BLUE;
|
||||
else if (mthing->extrainfo == 4)
|
||||
mobj->color = SKINCOLOR_VAPOR;
|
||||
else if (mthing->extrainfo == 5)
|
||||
mobj->color = SKINCOLOR_PURPLE;
|
||||
else if (mthing->extrainfo == 6)
|
||||
mobj->color = SKINCOLOR_BUBBLEGUM;
|
||||
else if (mthing->extrainfo == 7)
|
||||
mobj->color = SKINCOLOR_NEON;
|
||||
else if (mthing->extrainfo == 8)
|
||||
mobj->color = SKINCOLOR_BLACK;
|
||||
else if (mthing->extrainfo == 9)
|
||||
mobj->color = SKINCOLOR_BEIGE;
|
||||
else if (mthing->extrainfo == 10)
|
||||
mobj->color = SKINCOLOR_LAVENDER;
|
||||
else if (mthing->extrainfo == 11)
|
||||
mobj->color = SKINCOLOR_RUBY;
|
||||
else if (mthing->extrainfo == 12)
|
||||
mobj->color = SKINCOLOR_SALMON;
|
||||
else if (mthing->extrainfo == 13)
|
||||
mobj->color = SKINCOLOR_SUNSET;
|
||||
else if (mthing->extrainfo == 14)
|
||||
mobj->color = SKINCOLOR_ORANGE;
|
||||
else if (mthing->extrainfo == 15)
|
||||
mobj->color = SKINCOLOR_YELLOW;
|
||||
break;
|
||||
case MT_PARTICLEGEN:
|
||||
{
|
||||
fixed_t radius, speed;
|
||||
|
|
Loading…
Reference in New Issue