]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Supposedly fix "lagging" rockets
authorMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 05:58:51 +0000 (16:58 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 05:58:51 +0000 (16:58 +1100)
qcsrc/client/weapons/projectile.qc

index 0d2bce9439953fb5931e8ac3e5a1a03b57ab8ed8..54c51b3a01d22e7ada532048f77c72f96bb824db 100644 (file)
@@ -57,7 +57,6 @@ void Projectile_Draw()
        float dt = time - self.proj_time;
 
        self.proj_time = time;
-       if(dt <= 0) { return; }
 
        f = self.move_flags;
 
@@ -144,6 +143,7 @@ void Projectile_Draw()
        if(Nade_IDFromProjectile(self.cnt) != 0)
                trailorigin += v_up * 4;
 
+       if(dt > 0)
        if(drawn)
                Projectile_DrawTrail(trailorigin);
        else