summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_pmove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 542b585..a23cd54 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -1958,7 +1958,7 @@ static void PM_GroundClimbTrace( void )
pm->ps->eFlags &= ~EF_WALLCLIMB;
//just transided from ceiling to floor... apply delta correction
- if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
+ if( ( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING ) || pm->ps->grapplePoint[2] < 0 )
{
vec3_t forward, rotated, angles;
@@ -2043,7 +2043,7 @@ static void PM_GroundTrace( void )
}
//just transided from ceiling to floor... apply delta correction
- if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
+ if( ( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING ) || pm->ps->grapplePoint[2] < 0 )
{
vec3_t forward, rotated, angles;