Buggy weirdness goes away

This commit is contained in:
Finny Merrill 2004-04-12 11:00:35 +00:00
parent f40c5be8b3
commit cf7e85b32c

11
ai.qc
View file

@ -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 ();
};