mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-21 19:41:25 +00:00
More DelayThink fixes.
This commit is contained in:
parent
bbfde21196
commit
b7dbb32b3c
3 changed files with 3 additions and 9 deletions
|
@ -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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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);
|
|
||||||
};
|
};
|
||||||
/*
|
/*
|
||||||
==============================
|
==============================
|
||||||
|
|
Loading…
Reference in a new issue