summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_misc.c8
-rw-r--r--src/game/bg_pmove.c4
2 files changed, 0 insertions, 12 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index 1ca5734c..6cfd5dd7 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -3641,13 +3641,9 @@ void BG_PlayerStateToEntityState( playerState_t *ps, entityState_t *s, qboolean
//TA: have to get the surfNormal thru somehow...
if( ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
- {
VectorCopy( ceilingNormal, s->angles2 );
- }
else
- {
VectorCopy( ps->grapplePoint, s->angles2 );
- }
s->loopSound = ps->loopSound;
s->generic1 = ps->generic1;
@@ -3738,13 +3734,9 @@ void BG_PlayerStateToEntityStateExtraPolate( playerState_t *ps, entityState_t *s
//TA: have to get the surfNormal thru somehow...
if( ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
- {
VectorCopy( ceilingNormal, s->angles2 );
- }
else
- {
VectorCopy( ps->grapplePoint, s->angles2 );
- }
s->loopSound = ps->loopSound;
s->generic1 = ps->generic1;
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 620ef21a..ea772267 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -1323,13 +1323,9 @@ static void PM_GroundClimbTrace( void )
//TA: If we're on the ceiling then grapplePoint is a rotation normal.. otherwise its a surface normal.
// would have been nice if Carmack had left a few random variables in the ps struct for mod makers
if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
- {
VectorCopy( ceilingNormal, surfNormal );
- }
else
- {
VectorCopy( pm->ps->grapplePoint, surfNormal );
- }
//construct a vector which reflects the direction the player is looking wrt the surface normal
AngleVectors( pm->ps->viewangles, forward, NULL, NULL );