don't guide rockets when holding secondary
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 5 Nov 2009 20:25:46 +0000 (20:25 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 5 Nov 2009 20:25:46 +0000 (20:25 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8214 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/w_rocketlauncher.qc

index 18f52df..1cd8260 100644 (file)
@@ -210,7 +210,8 @@ void W_Rocket_Think (void)
                else
                {
                        if(self == self.owner.lastrocket)
-                       if(!self.owner.rl_release)
+                       if not(self.owner.rl_release)
+                       if not(self.BUTTON_ATCK2)
                        if(cvar("g_balance_rocketlauncher_guiderate"))
                        if(time > self.pushltime)
                        if(self.owner.deadflag == DEAD_NO)