From 6d75594419e439e5f8d01fcb6693cbffdfb7f3ac Mon Sep 17 00:00:00 2001 From: pierow Date: Mon, 4 Jan 2021 13:37:26 -0500 Subject: [PATCH] No build radius from structures changed to spherical instead of cylinder. Credit to AlienBird. --- main/source/mod/AvHSharedUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/source/mod/AvHSharedUtil.cpp b/main/source/mod/AvHSharedUtil.cpp index 60026513..26f0d7b4 100644 --- a/main/source/mod/AvHSharedUtil.cpp +++ b/main/source/mod/AvHSharedUtil.cpp @@ -872,8 +872,8 @@ void AvHSHUGetMinBuildRadiusViolations(AvHMessageID inMessageID, vec3_t& inLocat vec3_t theXYInLocation = inLocation; vec3_t theXYTheLocation = theLocation; - theXYInLocation.z = 0; - theXYTheLocation.z = 0; + //theXYInLocation.z = 0; + //theXYTheLocation.z = 0; float theDistance = VectorDistance((float*)&theXYInLocation, (float*)&theXYTheLocation); // : 0000291