summary refs log tree commit diff
path: root/src/Person.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Person.cpp')
-rw-r--r--src/Person.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Person.cpp b/src/Person.cpp
index d4a298b..0115a89 100644
--- a/src/Person.cpp
+++ b/src/Person.cpp
@@ -72,7 +72,7 @@ HitStruct 	Person::BulletCollideWithPlayer(int who, XYZ start, XYZ end){
 	}
 	tempbulletloc[0]=start;
 	tempbulletloc[1]=end;
-	if (segmentIntersectsSphere(start, end, average, distancemax)) {
+	if (segCrossSphere(start, end, average, distancemax)) {
 	for (auto& joint : skeleton.joints) {
 		if (joint.hasparent && joint.visible) {
 			tempbulletloc[0] = start;