From 82568f81fc1b98b5673caf59f3259f6dd7488162 Mon Sep 17 00:00:00 2001
From: katsy <katmint@live.com>
Date: Fri, 8 Sep 2023 17:46:13 -0500
Subject: [PATCH] Disable renderhitbox in multiplaye altogether

---
 src/r_bbox.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/r_bbox.c b/src/r_bbox.c
index 6b4c4c4fb..cf417ec37 100644
--- a/src/r_bbox.c
+++ b/src/r_bbox.c
@@ -268,6 +268,9 @@ boolean R_ThingBoundingBoxVisible(mobj_t *thing)
 {
 	INT32 cvmode = cv_renderhitbox.value;
 
+	if (multiplayer) // No hitboxes in multiplayer to avoid cheating
+		return false;
+
 	// Do not render bbox for these
 	switch (thing->type)
 	{
-- 
GitLab