mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-10 06:31:52 +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,9 +179,11 @@ void() SUB_CalcAngleMoveDone =
|
||||||
|
|
||||||
void() DelayThink =
|
void() DelayThink =
|
||||||
{
|
{
|
||||||
|
local integer rem = self.killtarget != self.targetname;
|
||||||
activator = self.enemy;
|
activator = self.enemy;
|
||||||
SUB_UseTargets ();
|
SUB_UseTargets ();
|
||||||
remove(self);
|
if (rem)
|
||||||
|
remove(self);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue