diff options
-rw-r--r-- | src/game/g_syscalls.c | 2 | ||||
-rw-r--r-- | src/game/g_weapon.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/game/g_syscalls.c b/src/game/g_syscalls.c index 5e4b999..800bd2a 100644 --- a/src/game/g_syscalls.c +++ b/src/game/g_syscalls.c @@ -256,7 +256,7 @@ int trap_RealTime( qtime_t *qtime ) void trap_SnapVector( float *v ) { - // syscall( G_SNAPVECTOR, v ); + syscall( G_SNAPVECTOR, v ); return; } diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 0f265db..740ab32 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -188,7 +188,6 @@ into a wall. */ void SnapVectorTowards( vec3_t v, vec3_t to ) { - /* int i; for( i = 0 ; i < 3 ; i++ ) @@ -198,12 +197,10 @@ 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++ ) @@ -213,7 +210,6 @@ void SnapVectorNormal( vec3_t v, vec3_t normal ) else v[ i ] = (int)( v[ i ] + ( normal[ i ] <= 0 ? -1 : 0 ) ); } - */ } /* |