]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix weird projectile angles on impact
authorRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 15:17:06 +0000 (16:17 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 15:17:06 +0000 (16:17 +0100)
qcsrc/client/projectile.qc

index e17d7ba3ddeb9df27c09c4d43c56b2508fcc79bb..e8274c8cd95d44a9ca61904e43ea20b3627c883c 100644 (file)
@@ -75,7 +75,7 @@ void Projectile_Draw()
                        Movetype_Physics_MatchServer(autocvar_cl_projectiles_sloppy);
                if(!(self.move_flags & FL_ONGROUND))
                        if(self.velocity != '0 0 0')
-                               self.angles = vectoangles(self.velocity);
+                               self.move_angles = self.angles = vectoangles(self.velocity);
        }
        else
        {