mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 07:12:20 +00:00
SERVER: Have push_way_zombies apply to all aistatus ents
This commit is contained in:
parent
9762b2250a
commit
bc56314bba
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue