From: Samual Lenks <samual@xonotic.org>
Date: Wed, 11 Dec 2013 01:33:17 +0000 (-0500)
Subject: Update config, plus small spacing fix
X-Git-Tag: xonotic-v0.8.0~152^2~230
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3059ca55182458fdefdef853889b02ac9615c0bd;p=xonotic%2Fxonotic-data.pk3dir.git

Update config, plus small spacing fix
---

diff --git a/bal-wep-xonotic.cfg b/bal-wep-xonotic.cfg
index 7981417af0..51ab517bc4 100644
--- a/bal-wep-xonotic.cfg
+++ b/bal-wep-xonotic.cfg
@@ -478,7 +478,6 @@ set g_balance_hook_primary_hooked_ammo 5
 set g_balance_hook_primary_hooked_time_free 2
 set g_balance_hook_primary_hooked_time_max 0
 set g_balance_hook_primary_refire 0
-set g_balance_hook_secondary_ammo 30
 set g_balance_hook_secondary_animtime 0.3
 set g_balance_hook_secondary_damage 25
 set g_balance_hook_secondary_damageforcescale 0
diff --git a/qcsrc/common/weapons/w_hook.qc b/qcsrc/common/weapons/w_hook.qc
index 34496f65c4..54f0cee0eb 100644
--- a/qcsrc/common/weapons/w_hook.qc
+++ b/qcsrc/common/weapons/w_hook.qc
@@ -15,7 +15,7 @@ REGISTER_WEAPON(
 #define HOOK_SETTINGS_LIST(w_cvar,w_prop,id,sn) \
 	w_cvar(id, sn, BOTH, animtime) \
 	w_cvar(id, sn, BOTH, refire) \
-	w_cvar(id, sn, PRI, ammo) \
+	w_cvar(id, sn, PRI,  ammo) \
 	w_cvar(id, sn, PRI,  hooked_ammo) \
 	w_cvar(id, sn, PRI,  hooked_time_free) \
 	w_cvar(id, sn, PRI,  hooked_time_max) \