More DelayThink fixes.

This commit is contained in:
Bill Currie 2012-07-18 10:59:57 +09:00
parent bbfde21196
commit b7dbb32b3c
3 changed files with 3 additions and 9 deletions

View file

@ -175,11 +175,9 @@ 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

@ -184,11 +184,9 @@ 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

@ -153,11 +153,9 @@ 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);
}; };
/* /*
============================== ==============================