mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-21 19:41:25 +00:00
Make DelayThink always remove self.
It turns out this is correct behaviour. Problem found while playing Geophobia.
This commit is contained in:
parent
b01ba9a9c6
commit
bbfde21196
2 changed files with 2 additions and 6 deletions
|
@ -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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -173,11 +173,9 @@ 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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue