Half-Life: Remove redundant target health check in monster_zombie.
This commit is contained in:
parent
654c3d370f
commit
9e13854dbe
1 changed files with 0 additions and 4 deletions
|
@ -89,7 +89,6 @@ class monster_zombie:CBaseMonster
|
|||
virtual void(void) AttackFlail;
|
||||
};
|
||||
|
||||
|
||||
int
|
||||
monster_zombie::AnimIdle(void)
|
||||
{
|
||||
|
@ -138,9 +137,6 @@ monster_zombie::AttackFlail(void)
|
|||
|
||||
Damage_Apply(trace_ent, this, 25, 0, 0);
|
||||
Sound_Play(this, CHAN_WEAPON, "monster_zombie.attackhit");
|
||||
|
||||
if (m_eEnemy.health <= 0)
|
||||
m_eEnemy = __NULL__;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue