From: Mario Date: Mon, 15 Dec 2014 03:22:25 +0000 (+1100) Subject: Fix "lagging" rockets, but also break fireball slowmo again X-Git-Tag: xonotic-v0.8.0~77 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41ee55f9a80d362565673a2a87bb1aef832fda66;p=xonotic%2Fxonotic-data.pk3dir.git Fix "lagging" rockets, but also break fireball slowmo again --- 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