]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/gibs.qc
Make the effect dependent on both sv_gentle and cl_gentle
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / gibs.qc
index ade42c6deb9b052504abb65724f629268195e4ad..3a548a31941469093de023e1f58e054525f220f2 100644 (file)
@@ -288,6 +288,9 @@ void Ent_DamageEffect()
        org_y = ReadCoord();
        org_z = ReadCoord();
 
+       if(autocvar_cl_gentle || autocvar_cl_gentle_damage)
+               return;
+
        e = get_weaponinfo(type);
 
        specnum2 = (specnum1 & 0x78) / 8; // blood type: using four bits (0..7, bit indexes 3,4,5)