monster_scientist: Don't do pain sound when we're already dead.
This commit is contained in:
parent
d042bd0233
commit
724caae659
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ monster_scientist::Pain(void)
|
|||
return;
|
||||
}
|
||||
|
||||
Sound_Speak(this, "monster_scientist.pain");
|
||||
if (style != MONSTER_DEAD)
|
||||
Sound_Speak(this, "monster_scientist.pain");
|
||||
|
||||
frame = SCIA_FLINCH + floor(random(0, 6));
|
||||
m_iFlags |= MONSTER_FEAR;
|
||||
|
|
Loading…
Reference in a new issue