From b7dbb32b3ceaf482e88b4a2e51ba2e6ad36c8e16 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 18 Jul 2012 10:59:57 +0900 Subject: [PATCH] More DelayThink fixes. --- nqw/subs.qc | 4 +--- paroxysm/quake/subs.qc | 4 +--- paroxysm/quakeworld/subs.qc | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/nqw/subs.qc b/nqw/subs.qc index 6e678c8..756a48b 100644 --- a/nqw/subs.qc +++ b/nqw/subs.qc @@ -175,11 +175,9 @@ void() SUB_CalcAngleMoveDone = void() DelayThink = { - local int rem = self.killtarget != self.targetname; activator = self.enemy; SUB_UseTargets (); - if (rem) - remove (self); + remove (self); }; /* diff --git a/paroxysm/quake/subs.qc b/paroxysm/quake/subs.qc index 90abf3f..c5d11b2 100644 --- a/paroxysm/quake/subs.qc +++ b/paroxysm/quake/subs.qc @@ -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); }; /* diff --git a/paroxysm/quakeworld/subs.qc b/paroxysm/quakeworld/subs.qc index cca5836..5dbc268 100644 --- a/paroxysm/quakeworld/subs.qc +++ b/paroxysm/quakeworld/subs.qc @@ -153,11 +153,9 @@ void() SUB_CalcAngleMoveDone = //============================================================================= void() DelayThink = { - local int rem = self.killtarget != self.targetname; activator = self.enemy; SUB_UseTargets (); - if (rem) - remove(self); + remove(self); }; /* ==============================