mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-23 12:42:39 +00:00
Buggy weirdness goes away
This commit is contained in:
parent
f40c5be8b3
commit
cf7e85b32c
1 changed files with 0 additions and 11 deletions
11
ai.qc
11
ai.qc
|
@ -576,17 +576,6 @@ void() FoundTarget =
|
|||
//self.show_hostile = time + 1; // wake up other monsters
|
||||
|
||||
|
||||
//- OfN- if (self.classname == "monster_demon1" || self.classname == "monster_shambler" || self.classname == "monster_wizard" )
|
||||
if (IsMonsterNonArmy(self))
|
||||
//- OfN - if (self.enemy.classname == "monster_demon1" || self.enemy.classname == "monster_shambler" || self.enemy.classname == "monster_wizard")
|
||||
if (IsMonsterNonArmy(self.enemy))
|
||||
//- OfN - if (self.enemy.enemy.classname != "monster_demon1" || self.enemy.enemy.classname != "monster_shambler" || self.enemy.enemy.classname != "monster_wizard")
|
||||
if (!IsMonsterNonArmy(self.enemy.enemy))
|
||||
{
|
||||
self.enemy.enemy = self;
|
||||
self.enemy.goalentity = self;
|
||||
}
|
||||
|
||||
SightSound ();
|
||||
HuntTarget ();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue