]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Working on aiming for bots
authorSamual Lenks <samual@xonotic.org>
Mon, 23 Jul 2012 17:38:26 +0000 (13:38 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 23 Jul 2012 17:38:26 +0000 (13:38 -0400)
qcsrc/server/w_laser.qc

index eb2bdd9e319b2b8392c50bc388b1ae8e7c37bf18..d9bf7f1cc1c0a0337c653ab9d655a5ad49b53f81 100644 (file)
@@ -377,7 +377,7 @@ float w_laser(float req)
                                self.BUTTON_ATCK = bot_aim(autocvar_g_balance_laser_primary_speed, 0, autocvar_g_balance_laser_primary_lifetime, FALSE);
                }
                else
-                       self.BUTTON_ATCK = bot_aim(autocvar_g_balance_laser_primary_speed, 0, autocvar_g_balance_laser_primary_lifetime, FALSE);
+                       self.BUTTON_ATCK = bot_aim(1000000, 0, 1, FALSE);
        }
        else if (req == WR_THINK)
        {