summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-10-16 20:48:17 +0300
committerMikko Tiusanen <ams@daug.net>2014-10-16 20:48:17 +0300
commitf2aa05fe4ae82c9c491057fd4e99a55e00edd3cc (patch)
tree2375d13c9a7e7b30df0be5d2ea5e7b21e7affdfb /src/game/g_weapon.c
parent8268afc55026f70cd21a7941e1228cfd9adeb0a8 (diff)
Revert "Disabled snapvector functionality."
This reverts commit 6a9a24a39acdef6f2af7ef5b5d9f373338550d8b.
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 0 insertions, 4 deletions
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 ) );
}
- */
}
/*