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,8 +179,10 @@ void() SUB_CalcAngleMoveDone =
void() DelayThink =
{
local integer rem = self.killtarget != self.targetname;
activator = self.enemy;
SUB_UseTargets ();
if (rem)
remove(self);
};