]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
change spread pattern magic number a bit
authordrjaska <drjaska83@gmail.com>
Tue, 16 May 2023 08:31:37 +0000 (11:31 +0300)
committerdrjaska <drjaska83@gmail.com>
Tue, 16 May 2023 08:31:37 +0000 (11:31 +0300)
qcsrc/common/weapons/weapon/hagar.qc

index a8c12efccd2002dad48197ffccd8be1b6be6a3c0..725243ee44eead29b7c9f57106dc9c151b7523f2 100644 (file)
@@ -229,7 +229,7 @@ void W_Hagar_Attack2_Load_Release(Weapon thiswep, entity actor, .entity weaponen
                        s = '0 0 0';
                else
                {
-                       makevectors('0 360 0' * (0.75 + (counter - 0.5) / (shots - 1)));
+                       makevectors('0 360 0' * ((0.25 * ((shots + 1) % 2)) + (counter / (shots - 1))));
                        s.y = v_forward.x;
                        s.z = v_forward.y;
                }