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,8 +179,10 @@ void() SUB_CalcAngleMoveDone =
|
|||
|
||||
void() DelayThink =
|
||||
{
|
||||
local integer rem = self.killtarget != self.targetname;
|
||||
activator = self.enemy;
|
||||
SUB_UseTargets ();
|
||||
if (rem)
|
||||
remove(self);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue