Added note about duplicate hitgroup cvars.
This commit is contained in:
parent
c61d29fd63
commit
d286d29652
|
@ -231,6 +231,8 @@ public ZRTools_Action:DamageTraceAttack(client, inflictor, attacker, Float:damag
|
||||||
}
|
}
|
||||||
|
|
||||||
// If damage hitgroups cvar is disabled, then allow damage.
|
// If damage hitgroups cvar is disabled, then allow damage.
|
||||||
|
// TODO: There are two cvars: zr_hitgroups and zr_damage_hitgroups. Maybe
|
||||||
|
// just use zr_hitgroups?
|
||||||
new bool:damagehitgroups = GetConVarBool(g_hCvarsList[CVAR_DAMAGE_HITGROUPS]);
|
new bool:damagehitgroups = GetConVarBool(g_hCvarsList[CVAR_DAMAGE_HITGROUPS]);
|
||||||
if (!damagehitgroups)
|
if (!damagehitgroups)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user