From 823edc4a690e51c0fc8d6ca796342f4a62f72f39 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Thu, 21 Jan 2016 21:23:43 -0600 Subject: [PATCH] - Cleaned up leftovers. --- src/thingdef/thingdef_codeptr.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index f7cad3a5e..28a7dfcf6 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -6024,9 +6024,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckProximity) //[MC]Make sure it's in range and respect the desire for Z or not. The function forces it to use //Z later for ensuring CLOSEST and FARTHEST flags are respected perfectly. //Ripped from sphere checking in A_RadiusGive (along with a number of things). - - fixedvec3 diff = ref->Vec3To(mo); - diff.z += (ref->height - mo->height) / 2; if ((flags & CPXF_NODISTANCE) || (ref->AproxDistance(mo) < distance && ((flags & CPXF_NOZ) || ((ref->Z() > mo->Z() && ref->Z() - mo->Top() < distance) ||