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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index adccbca6..037ab92c 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -1492,7 +1492,7 @@ static void PM_GroundClimbTrace( void )
//if we hit something
if( trace.fraction < 1.0 && !( trace.surfaceFlags & ( SURF_SKY | SURF_NOIMPACT ) ) &&
- !( trace.entityNum != 1022 && i != 3 ) )
+ !( trace.entityNum != ENTITYNUM_WORLD && i != 3 ) )
{
if( i == 2 )
VectorCopy( trace.endpos, pm->ps->origin );