From 274497ecec074d6919fdb831d55acf1b6d08a101 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Sun, 8 Mar 2009 13:45:39 +0000 Subject: [PATCH] fix crouching on too thin clip entities git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4265 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/physics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 6e39274c..55aa5c4b 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -120,7 +120,7 @@ bool mmcollide(physent *d, float &hi, float &lo) // collide with a map { const float cz = float(S(e.x, e.y)->floor+e.attr1), ch = float(e.attr4); const float dz = d->o.z-d->eyeheight; - if(dzlo) lo = cz+ch; if(hi-lo < playerheight) return false; }