From b904502dfa2899ac192956b894782fb163149e28 Mon Sep 17 00:00:00 2001 From: josephfortune Date: Tue, 26 Nov 2024 18:41:31 -0500 Subject: [PATCH] Update zombie.cpp Fix redundancy in zombie IgnoreConditions() --- dlls/zombie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/zombie.cpp b/dlls/zombie.cpp index bef1f1687..056f8bf54 100644 --- a/dlls/zombie.cpp +++ b/dlls/zombie.cpp @@ -313,7 +313,7 @@ int CZombie::IgnoreConditions() { int iIgnore = CBaseMonster::IgnoreConditions(); - if ((m_Activity == ACT_MELEE_ATTACK1) || (m_Activity == ACT_MELEE_ATTACK1)) + if ((m_Activity == ACT_MELEE_ATTACK1)) { #if 0 if (pev->health < 20)