SERVER: Have push_way_zombies apply to all aistatus ents

This commit is contained in:
cypress 2023-11-21 11:49:51 -05:00
parent 9762b2250a
commit bc56314bba

View file

@ -190,7 +190,7 @@ float() push_away_zombies =
return_value = 0; return_value = 0;
while(ent) while(ent)
{ {
if(ent.classname == "ai_zombie" && ent != self) if(ent.aistatus == "1" && ent != self)
{ {
vector push; vector push;
push = ent.origin - self.origin; push = ent.origin - self.origin;