mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 06:00:50 +00:00
Makron torso flashes red like the legs
This commit is contained in:
parent
f76ce1d64b
commit
f7e9b2c150
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue