From 418b5f7fffb7c0469a8519e9fee287ff955ea6de Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Wed, 22 Feb 2006 11:14:14 +0000 Subject: [PATCH] fix primary fire shots to use the proper cvar name (now it's firing 7 shots again like it did before the cvar split) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@1120 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/gamec/w_crylink.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/data/qcsrc/server/gamec/w_crylink.c b/data/qcsrc/server/gamec/w_crylink.c index e2faededb..e249483d3 100644 --- a/data/qcsrc/server/gamec/w_crylink.c +++ b/data/qcsrc/server/gamec/w_crylink.c @@ -108,9 +108,7 @@ void W_Crylink_Attack (void) org = self.origin + self.view_ofs + v_forward * 10 + v_right * 5 + v_up * -14; te_smallflash(org); - shots = cvar("g_balance_crylink_shots"); - if (!shots) - shots = 5; + shots = cvar("g_balance_crylink_primary_shots"); while (counter < shots) { proj = spawn (); @@ -161,8 +159,6 @@ void W_Crylink_Attack2 (void) te_smallflash(org); shots = cvar("g_balance_crylink_secondary_shots"); - if (!shots) - shots = 5; while (counter < shots) { proj = spawn (); -- 2.39.2