Disable renderhitbox in multiplaye altogether

This commit is contained in:
katsy 2023-09-08 17:46:13 -05:00
parent 0952d31369
commit 82568f81fc

View file

@ -268,6 +268,9 @@ boolean R_ThingBoundingBoxVisible(mobj_t *thing)
{ {
INT32 cvmode = cv_renderhitbox.value; INT32 cvmode = cv_renderhitbox.value;
if (multiplayer) // No hitboxes in multiplayer to avoid cheating
return false;
// Do not render bbox for these // Do not render bbox for these
switch (thing->type) switch (thing->type)
{ {