From: Samual Lenks <samual@xonotic.org>
Date: Sun, 8 Dec 2013 01:42:47 +0000 (-0500)
Subject: Use greater than or equal than for electro comboradius_thruwall comparison
X-Git-Tag: xonotic-v0.8.0~152^2~310
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=718f157fb61f05d41352538080f30667ae9b7957;p=xonotic%2Fxonotic-data.pk3dir.git

Use greater than or equal than for electro comboradius_thruwall comparison
---

diff --git a/qcsrc/common/weapons/w_electro.qc b/qcsrc/common/weapons/w_electro.qc
index aef7e2d773..dae89e32db 100644
--- a/qcsrc/common/weapons/w_electro.qc
+++ b/qcsrc/common/weapons/w_electro.qc
@@ -36,7 +36,7 @@ void W_Plasma_TriggerCombo(vector org, float rad, entity own)
 			// change owner to whoever caused the combo explosion
 			WarpZone_TraceLine(org, e.origin, MOVE_NOMONSTERS, e);
 
-			if((trace_fraction == 1) || (autocvar_g_balance_electro_combo_comboradius_thruwall > vlen(e.WarpZone_findradius_dist)))
+			if((trace_fraction == 1) || (autocvar_g_balance_electro_combo_comboradius_thruwall >= vlen(e.WarpZone_findradius_dist)))
 			{
 				e.realowner = own;
 				e.takedamage = DAMAGE_NO;