From f7e9b2c150a24c665135383d1223f158aaf25c90 Mon Sep 17 00:00:00 2001 From: BjossiAlfreds Date: Thu, 26 Sep 2019 12:42:57 +0000 Subject: [PATCH] Makron torso flashes red like the legs --- src/monster/boss3/boss32.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/monster/boss3/boss32.c b/src/monster/boss3/boss32.c index abbd120..38214c9 100644 --- a/src/monster/boss3/boss32.c +++ b/src/monster/boss3/boss32.c @@ -805,6 +805,17 @@ makron_torso_think(edict_t *self) return; } + if (self->owner && (self->owner->monsterinfo.aiflags & AI_RESURRECTING)) + { + self->s.effects |= EF_COLOR_SHELL; + self->s.renderfx |= RF_SHELL_RED; + } + else + { + self->s.effects &= ~EF_COLOR_SHELL; + self->s.renderfx &= ~RF_SHELL_RED; + } + if (++self->s.frame >= FRAME_death320) { self->s.frame = FRAME_death301;