mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-12 23:44:27 +00:00
don't remove self if self.killtarget == self.targetname
This commit is contained in:
parent
dcbb64cfe7
commit
78e625a336
1 changed files with 3 additions and 1 deletions
|
@ -179,8 +179,10 @@ void() SUB_CalcAngleMoveDone =
|
||||||
|
|
||||||
void() DelayThink =
|
void() DelayThink =
|
||||||
{
|
{
|
||||||
|
local integer 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