
Untitled
By: a guest on
Jun 5th, 2012 | syntax:
Diff | size: 0.51 KB | hits: 342 | expires: Never
--- warsow_0.7_sdk/source/gameshared/gs_pmove.c 2011-10-28 08:07:48.000000000 +0200
+++ warsow_0.7_sdk_fixed/source/gameshared/gs_pmove.c 2012-06-05 14:20:57.673399818 +0200
@@ -188,7 +188,7 @@ static void PlayerTouchWall( int nbTestD
if( trace.fraction > 0 )
{
- if( dist > trace.fraction && abs( trace.plane.normal[2] ) < maxZnormal )
+ if( dist > trace.fraction && fabs( trace.plane.normal[2] ) < maxZnormal )
{
dist = trace.fraction;
VectorCopy( trace.plane.normal, *normal );