From 2dd1d48e1a11ad156563ac7257548ea1bba31a9c Mon Sep 17 00:00:00 2001
From: terencehill <piuntn@gmail.com>
Date: Fri, 2 Dec 2016 18:02:25 +0100
Subject: [PATCH] Simplify an assignment

---
 qcsrc/client/shownames.qc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc
index add8992aa..4b892304b 100644
--- a/qcsrc/client/shownames.qc
+++ b/qcsrc/client/shownames.qc
@@ -78,8 +78,10 @@ void Draw_ShowNames(entity this)
 		float w = o.x - vid_conwidth / 2;
 		float h = o.y - vid_conheight / 2;
 		if (d * d > w * w + h * h) this.pointtime = time;
-		if (this.pointtime + autocvar_hud_shownames_crosshairdistance_time <= time) overlap = true;
-		else overlap = (autocvar_hud_shownames_crosshairdistance_antioverlap ? overlap : false); // override what antioverlap says unless allowed by cvar.
+		if (this.pointtime + autocvar_hud_shownames_crosshairdistance_time <= time)
+			overlap = true;
+		else if(!autocvar_hud_shownames_crosshairdistance_antioverlap)
+			overlap = false;
 	}
 	if (!this.fadedelay) this.fadedelay = time + SHOWNAMES_FADEDELAY;
 	if (this.csqcmodel_isdead)                                                                   // dead player, fade out slowly
-- 
2.39.5