From 6a9a24a39acdef6f2af7ef5b5d9f373338550d8b Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Sun, 7 Sep 2014 14:45:17 +0300 Subject: Disabled snapvector functionality. --- src/game/g_weapon.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/g_weapon.c') diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 740ab32..0f265db 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -188,6 +188,7 @@ into a wall. */ void SnapVectorTowards( vec3_t v, vec3_t to ) { + /* int i; for( i = 0 ; i < 3 ; i++ ) @@ -197,10 +198,12 @@ void SnapVectorTowards( vec3_t v, vec3_t to ) else v[ i ] = (int)( v[ i ] + ( to[ i ] <= v[ i ] ? -1 : 0 ) ); } + */ } void SnapVectorNormal( vec3_t v, vec3_t normal ) { + /* int i; for( i = 0 ; i < 3 ; i++ ) @@ -210,6 +213,7 @@ void SnapVectorNormal( vec3_t v, vec3_t normal ) else v[ i ] = (int)( v[ i ] + ( normal[ i ] <= 0 ? -1 : 0 ) ); } + */ } /* -- cgit