Added note about duplicate hitgroup cvars.

This commit is contained in:
Richard Helgeby 2013-08-20 19:37:04 +02:00
parent c61d29fd63
commit d286d29652
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ public ZRTools_Action:DamageTraceAttack(client, inflictor, attacker, Float:damag
}
// 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]);
if (!damagehitgroups)
{