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 6490658..bc77ad9 100644
--- a/src/Person.cpp
+++ b/src/Person.cpp
@@ -49,7 +49,7 @@ HitStruct 	Person::BulletCollideWithPlayer(int who, XYZ start, XYZ end){
 			distancemax=findDistancefast(average,skeleton.joints[j].position);
 		}
 	}
-	distancemax=fast_sqrt(distancemax);
+	distancemax=sqrt(distancemax);
 	//Collide with player
 	if(skeleton.free<1){
 		start=start-playercoords;