oops, forgot the crylink code
authorfruitiex <fruitiex@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 24 Feb 2010 14:44:44 +0000 (14:44 +0000)
committerfruitiex <fruitiex@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 24 Feb 2010 14:44:44 +0000 (14:44 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8663 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/w_crylink.qc

index 0119c50..c3c5690 100644 (file)
@@ -198,7 +198,7 @@ float w_crylink(float req)
                        W_Crylink_Attack();
                        weapon_thinkf(WFRAME_FIRE1, cvar("g_balance_crylink_primary_animtime"), w_ready);
                }
-               if (self.BUTTON_ATCK2)
+               if (self.BUTTON_ATCK2 && cvar("g_balance_crylink_secondary"))
                if (weapon_prepareattack(1, cvar("g_balance_crylink_secondary_refire")))
                {
                        W_Crylink_Attack2();