From aedf464b9b180a166ca020dd9170628f99938c5f Mon Sep 17 00:00:00 2001 From: div0 Date: Thu, 3 Jul 2008 09:51:25 +0000 Subject: [PATCH] remove unused var git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3766 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/t_swamp.qc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/data/qcsrc/server/t_swamp.qc b/data/qcsrc/server/t_swamp.qc index 5d7c44e5d..d9d6ea419 100644 --- a/data/qcsrc/server/t_swamp.qc +++ b/data/qcsrc/server/t_swamp.qc @@ -8,7 +8,6 @@ .float swamp_interval; //Hurt players in swamp with this interval .float swamp_slowdown; //Players in swamp get slowd down by this mutch 0-1 is slowdown 1-~ is speedup (!?) -.float swamp_ticker; //Used localy by the swampslug to calculate when to hurt the player and check the slug. .entity swampslug; void spawnfunc_trigger_swamp(void); @@ -32,7 +31,6 @@ void swampslug_think(); */ void swampslug_think(void) { - //Slowly kill the slug self.health = self.health - 1; @@ -48,15 +46,12 @@ void swampslug_think(void) // Or we have exited it very recently. // Do the damage and renew the timer. Damage (self.owner, self, self, self.dmg, DEATH_SWAMP, other.origin, '0 0 0'); - self.swamp_ticker = time + self.swamp_interval; self.nextthink = time + self.swamp_interval; - } void swamp_touch(void) { - // If whatever thats touching the swamp is not a player // or if its a dead player, just dont care abt it. if((other.classname != "player")||(other.deadflag != DEAD_NO)) -- 2.39.2