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