From 41ee55f9a80d362565673a2a87bb1aef832fda66 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Dec 2014 14:22:25 +1100 Subject: [PATCH] Fix "lagging" rockets, but also break fireball slowmo again --- qcsrc/client/weapons/projectile.qc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qcsrc/client/weapons/projectile.qc b/qcsrc/client/weapons/projectile.qc index 54c51b3a0..fc769408b 100644 --- a/qcsrc/client/weapons/projectile.qc +++ b/qcsrc/client/weapons/projectile.qc @@ -45,7 +45,6 @@ void Projectile_DrawTrail(vector to) } } -.float proj_time; void Projectile_Draw() { vector rot; @@ -54,9 +53,6 @@ void Projectile_Draw() float drawn; float t; float a; - float dt = time - self.proj_time; - - self.proj_time = time; f = self.move_flags; @@ -143,7 +139,6 @@ void Projectile_Draw() if(Nade_IDFromProjectile(self.cnt) != 0) trailorigin += v_up * 4; - if(dt > 0) if(drawn) Projectile_DrawTrail(trailorigin); else @@ -204,7 +199,6 @@ void Ent_Projectile() self.count = (f & 0x80); self.iflags = (self.iflags & IFLAG_INTERNALMASK) | IFLAG_AUTOANGLES | IFLAG_ANGLES | IFLAG_ORIGIN; self.solid = SOLID_TRIGGER; - self.proj_time = time; //self.effects = EF_NOMODELFLAGS; // this should make collisions with bmodels more exact, but it leads to -- 2.39.2