Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- 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 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement