summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-09-07 14:45:17 +0300
committerMikko Tiusanen <ams@daug.net>2014-09-07 14:45:17 +0300
commit6a9a24a39acdef6f2af7ef5b5d9f373338550d8b (patch)
tree627e2b5564d4c6ab9f6837fa3b49792bdbbbd8e9 /src
parentc9cd49156309f29a8576ac17788dfd6ead583cc4 (diff)
Disabled snapvector functionality.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_syscalls.c2
-rw-r--r--src/game/g_weapon.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/game/g_syscalls.c b/src/game/g_syscalls.c
index 800bd2a..5e4b999 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 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 ) );
}
+ */
}
/*