summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 26a95255..77692398 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -1926,7 +1926,7 @@ static void PM_GroundClimbTrace( void )
vectoangles( trace.plane.normal, toAngles );
vectoangles( pm->ps->grapplePoint, surfAngles );
- pm->ps->delta_angles[ 1 ] -= ANGLE2SHORT( ( ( surfAngles[ 1 ] - toAngles[ 1 ] ) * 2 ) - 180 );
+ pm->ps->delta_angles[ 1 ] -= ANGLE2SHORT( ( ( surfAngles[ 1 ] - toAngles[ 1 ] ) * 2 ) - 180.0f );
}
}
@@ -1949,7 +1949,6 @@ static void PM_GroundClimbTrace( void )
else if( trace.allsolid )
{
// do something corrective if the trace starts in a solid...
- //TA: fuck knows what this does with all my new stuff :(
if( !PM_CorrectAllSolid( &trace ) )
return;
}