diff --git a/source/server/ai/ai_core.qc b/source/server/ai/ai_core.qc index f6f3f42..9d3213c 100644 --- a/source/server/ai/ai_core.qc +++ b/source/server/ai/ai_core.qc @@ -190,7 +190,7 @@ float() push_away_zombies = return_value = 0; while(ent) { - if(ent.classname == "ai_zombie" && ent != self) + if(ent.aistatus == "1" && ent != self) { vector push; push = ent.origin - self.origin;