summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-04-08 15:21:40 +0100
committerIronClawTrem <louie.nutman@gmail.com>2020-04-08 15:21:40 +0100
commit0416ce8dd3266172fd7497d4ca0c5a217174afa8 (patch)
treee11c981a80e500306a48f93ad627dbc35c59b8d2 /src/game
parent327887ca8b528e5243e5478c5111460d7a945cf8 (diff)
Revert "improve wallwalk when dropping from slanted surfaces"
This reverts commit e4ce796542a1d939258945ee17fd4fe44d6eabe4.
Diffstat (limited to 'src/game')
-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 a23cd54..542b585 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 ) || pm->ps->grapplePoint[2] < 0 )
+ if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
{
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 ) || pm->ps->grapplePoint[2] < 0 )
+ if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING )
{
vec3_t forward, rotated, angles;