From 5a7e0d4095964285604cc4d86b5a9cabdf47f368 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 6 Aug 2001 20:12:23 +0000 Subject: FINALLY fixed wall walking to handle the general case properly --- src/game/bg_pmove.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 7005754e..85727d4d 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2636,11 +2636,6 @@ void PM_UpdateViewAngles( playerState_t *ps, const usercmd_t *cmd ) { else rotAngle = RAD2DEG( acos( DotProduct( surfNormal, refNormal ) ) ); - //FIXME: rotAngle is always +ve?? - //-abs( rotAngle ).. sorta -/* if( rotAngle > 0 ) - rotAngle = -rotAngle;*/ - //hmmm could get away with only one rotation and some clever stuff later... but i'm lazy RotatePointAroundVector( rotaxis[0], xNormal, axis[0], -rotAngle ); RotatePointAroundVector( rotaxis[1], xNormal, axis[1], -rotAngle ); -- cgit