From 78a75cac4a3efb319875a83284f7abfe34671e07 Mon Sep 17 00:00:00 2001 From: tankefugl Date: Tue, 12 Apr 2005 01:19:15 +0000 Subject: [PATCH] o Fixed a bug in the "new" hitbox registration code where the bounding box in some cases would not be able to include entities that should be hit by a trace git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@68 67975925-1194-0748-b3d5-c16f83f1a3a1 --- dev/tankefugl/source/mod/AvHServerUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tankefugl/source/mod/AvHServerUtil.cpp b/dev/tankefugl/source/mod/AvHServerUtil.cpp index ca5342ef..8a46907e 100644 --- a/dev/tankefugl/source/mod/AvHServerUtil.cpp +++ b/dev/tankefugl/source/mod/AvHServerUtil.cpp @@ -1149,7 +1149,7 @@ void AvHGetLineBounds(const Vector& vecStart, const Vector& vecEnd, Vector& outM outMaxs[0] += kBoundingBoxPadding; outMaxs[1] += kBoundingBoxPadding; - outMins[2] += kBoundingBoxPadding; + outMaxs[2] += kBoundingBoxPadding; /// tankefugl: was outMins[2] }