0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/game-source synced 2025-04-23 16:00:53 +00:00

Make DelayThink always remove self.

It turns out this is correct behaviour. Problem found while playing
Geophobia.
This commit is contained in:
Bill Currie 2012-07-18 10:04:54 +09:00
parent b01ba9a9c6
commit bbfde21196
2 changed files with 2 additions and 6 deletions
quake
quakeworld

View file

@ -184,11 +184,9 @@ void() SUB_CalcAngleMoveDone =
void() DelayThink =
{
local int rem = self.killtarget != self.targetname;
activator = self.enemy;
SUB_UseTargets ();
if (rem)
remove(self);
remove(self);
};
/*

View file

@ -173,11 +173,9 @@ SUB_CalcAngleMoveDone =
void ()
DelayThink =
{
local int rem = self.killtarget != self.targetname;
activator = self.enemy;
SUB_UseTargets ();
if (rem)
remove (self);
remove (self);
};
/*