Make DelayThink always remove self.

It turns out this is correct behaviour. Problem found while playing
Geophobia.
This commit is contained in:
Bill Currie 2012-07-18 10:04:54 +09:00
parent b01ba9a9c6
commit bbfde21196
2 changed files with 2 additions and 6 deletions

View file

@ -184,10 +184,8 @@ void() SUB_CalcAngleMoveDone =
void() DelayThink = void() DelayThink =
{ {
local int rem = self.killtarget != self.targetname;
activator = self.enemy; activator = self.enemy;
SUB_UseTargets (); SUB_UseTargets ();
if (rem)
remove(self); remove(self);
}; };

View file

@ -173,10 +173,8 @@ SUB_CalcAngleMoveDone =
void () void ()
DelayThink = DelayThink =
{ {
local int rem = self.killtarget != self.targetname;
activator = self.enemy; activator = self.enemy;
SUB_UseTargets (); SUB_UseTargets ();
if (rem)
remove (self); remove (self);
}; };