Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 5th, 2012  |  syntax: Diff  |  size: 0.51 KB  |  hits: 342  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 );