summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index feee414..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 ) );
}
+ */
}
/*
@@ -1732,8 +1736,6 @@ void Prickles( gentity_t *ent )
vec3_t end;
float r;
float u;
- gentity_t *tent;
- gentity_t *traceEnt;
r = random( ) * M_PI * 2.0f;
u = sin( r ) * crandom( ) * LEVEL5_PRICKLES_SPREAD * 16;