From: mand1nga Date: Thu, 18 Aug 2011 13:28:15 +0000 (-0300) Subject: Use real shotgun primary speed for bot aiming X-Git-Tag: xonotic-v0.5.0~119 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=53a37012662121178957eae6b32d60816baa6dec;p=xonotic%2Fxonotic-data.pk3dir.git Use real shotgun primary speed for bot aiming --- diff --git a/qcsrc/server/w_shotgun.qc b/qcsrc/server/w_shotgun.qc index b77ed9225..c4cc5f051 100644 --- a/qcsrc/server/w_shotgun.qc +++ b/qcsrc/server/w_shotgun.qc @@ -113,7 +113,7 @@ float w_shotgun(float req) if(vlen(self.origin-self.enemy.origin) <= autocvar_g_balance_shotgun_secondary_melee_range) self.BUTTON_ATCK2 = bot_aim(1000000, 0, 0.001, FALSE); else - self.BUTTON_ATCK = bot_aim(1000000, 0, 0.001, FALSE); + self.BUTTON_ATCK = bot_aim(autocvar_g_balance_shotgun_primary_speed, 0, 0.001, FALSE); else if (req == WR_THINK) { if(autocvar_g_balance_shotgun_reload_ammo && self.clip_load < autocvar_g_balance_shotgun_primary_ammo) // forced reload