don't remove self if self.killtarget == self.targetname

This commit is contained in:
Bill Currie 2002-04-26 20:07:12 +00:00
parent dcbb64cfe7
commit 78e625a336

View file

@ -179,9 +179,11 @@ void() SUB_CalcAngleMoveDone =
void() DelayThink = void() DelayThink =
{ {
local integer rem = self.killtarget != self.targetname;
activator = self.enemy; activator = self.enemy;
SUB_UseTargets (); SUB_UseTargets ();
remove(self); if (rem)
remove(self);
}; };
/* /*