set g_balance_mortar_primary_lifetime_stick 0
set g_balance_mortar_primary_radius 120
set g_balance_mortar_primary_refire 0.8
+set g_balance_mortar_secondary_remote_detonateprimary 0
set g_balance_mortar_primary_remote_minbouncecnt 0
set g_balance_mortar_primary_speed 1900
set g_balance_mortar_primary_speed_up 225
w_cvar(WEP_MORTAR, mortar, MO_BOTH, lifetime_stick) \
w_cvar(WEP_MORTAR, mortar, MO_BOTH, radius) \
w_cvar(WEP_MORTAR, mortar, MO_BOTH, refire) \
+ w_cvar(WEP_MORTAR, mortar, MO_SEC, remote_detonateprimary) \
w_cvar(WEP_MORTAR, mortar, MO_PRI, remote_minbouncecnt) \
w_cvar(WEP_MORTAR, mortar, MO_BOTH, speed) \
w_cvar(WEP_MORTAR, mortar, MO_BOTH, speed_up) \
}
else if (self.BUTTON_ATCK2)
{
- if (cvar("g_balance_mortar_secondary_remote_detonateprimary"))
+ if(WEP_CVAR_SEC(mortar, remote_detonateprimary))
{
nadefound = 0;
for(nade = world; (nade = find(nade, classname, "grenade")); ) if(nade.realowner == self)