mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-16 08:52:16 +00:00
More DelayThink fixes.
This commit is contained in:
parent
bbfde21196
commit
b7dbb32b3c
3 changed files with 3 additions and 9 deletions
|
@ -175,10 +175,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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -153,10 +153,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);
|
||||||
};
|
};
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue