Advertisement
Guest User

Untitled

a guest
Jun 5th, 2012
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.51 KB | None | 0 0
  1.  
  2.  
  3. --- warsow_0.7_sdk/source/gameshared/gs_pmove.c 2011-10-28 08:07:48.000000000 +0200
  4. +++ warsow_0.7_sdk_fixed/source/gameshared/gs_pmove.c   2012-06-05 14:20:57.673399818 +0200
  5. @@ -188,7 +188,7 @@ static void PlayerTouchWall( int nbTestD
  6.  
  7.         if( trace.fraction > 0 )
  8.         {
  9. -           if( dist > trace.fraction && abs( trace.plane.normal[2] ) < maxZnormal )
  10. +           if( dist > trace.fraction && fabs( trace.plane.normal[2] ) < maxZnormal )
  11.             {
  12.                 dist = trace.fraction;
  13.                 VectorCopy( trace.plane.normal, *normal );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement