WEP_ADD_CVAR(weapon, MO_BOTH, edgedamage) \
WEP_ADD_CVAR(weapon, MO_BOTH, force) \
WEP_ADD_CVAR(weapon, MO_BOTH, radius) \
- WEP_ADD_CVAR(weapon, MO_BOTH, ammo) \
WEP_ADD_CVAR(weapon, MO_BOTH, refire) \
WEP_ADD_CVAR(weapon, MO_BOTH, speed) \
WEP_ADD_CVAR(weapon, MO_BOTH, damageforcescale) \
WEP_ADD_CVAR(weapon, MO_BOTH, damagefalloff_maxdist) \
WEP_ADD_CVAR(weapon, MO_BOTH, damagefalloff_halflife) \
WEP_ADD_CVAR(weapon, MO_BOTH, damagefalloff_forcehalflife) \
- WEP_ADD_CVAR(weapon, MO_BOTH, ammo) \
WEP_ADD_CVAR(weapon, MO_BOTH, refire) \
WEP_ADD_CVAR(weapon, MO_NONE, charge) \
WEP_ADD_CVAR(weapon, MO_NONE, charge_mindmg) \
#define WEP_ADD_CVAR(weapon,mode,name) \
#if mode == MO_PRI \
- WEP_DUPECHECK(WEP_CVAR_##weapon##_##name, autocvar_g_balance_##weapon##_primary_##name) \
+ WEP_DUPECHECK(WEP_CVAR_P_##weapon##_##name, autocvar_g_balance_##weapon##_primary_##name) \
#endif \
#if mode == MO_SEC \
- WEP_DUPECHECK(WEP_CVAR_##weapon##_##name, autocvar_g_balance_##weapon##_secondary_##name) \
+ WEP_DUPECHECK(WEP_CVAR_S_##weapon##_##name, autocvar_g_balance_##weapon##_secondary_##name) \
#endif \
#if mode == MO_BOTH \
- WEP_DUPECHECK(WEP_CVAR_##weapon##_##name, autocvar_g_balance_##weapon##_primary_##name) \
- WEP_DUPECHECK(WEP_CVAR_##weapon##_##name, autocvar_g_balance_##weapon##_secondary_##name) \
+ WEP_DUPECHECK(WEP_CVAR_P_##weapon##_##name, autocvar_g_balance_##weapon##_primary_##name) \
+ WEP_DUPECHECK(WEP_CVAR_S_##weapon##_##name, autocvar_g_balance_##weapon##_secondary_##name) \
#endif \
#if mode == MO_NONE \
WEP_DUPECHECK(WEP_CVAR_##weapon##_##name, autocvar_g_balance_##weapon##_##name) \