From 904ff6fccb4e46b34955327e22068389feca00d1 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Thu, 9 Aug 2018 04:19:18 -0400 Subject: [PATCH] Choose Flicky Fish Color by Thing Parameter --- src/p_mobj.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/p_mobj.c b/src/p_mobj.c index 4e1c18344..1261091da 100644 --- a/src/p_mobj.c +++ b/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;