monster_scientist: Fix the Pain() calling animations post-death
This commit is contained in:
parent
bf4ec8bcc3
commit
ccfd887e7c
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ monster_scientist::TalkPanic(void)
|
|||
void
|
||||
monster_scientist::Pain(void)
|
||||
{
|
||||
if (style == MONSTER_DEAD)
|
||||
return;
|
||||
|
||||
if (autocvar_sh_sciattack)
|
||||
CBaseMonster::Pain();
|
||||
|
||||
|
|
Loading…
Reference in a new issue