mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
Switch to Enforcers bloody skin when he's killed, fixes #331
When killing the enforcer with one shot (instead of damaging him first without killing, which will switch to the bloody skin), the skin wasn't changed. Now it is.
This commit is contained in:
parent
c794107dff
commit
f2a73b3919
1 changed files with 1 additions and 0 deletions
|
@ -532,6 +532,7 @@ infantry_die(edict_t *self, edict_t *inflictor /* unused */,
|
|||
/* regular death */
|
||||
self->deadflag = DEAD_DEAD;
|
||||
self->takedamage = DAMAGE_YES;
|
||||
self->s.skinnum = 1; /* switch to bloody skin */
|
||||
|
||||
n = randk() % 3;
|
||||
|
||||
|
|
Loading…
Reference in a new issue