diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-04-01 00:15:08 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-04-01 00:15:08 +0200 |
commit | aafce523371954faadbdbd37d61ecdeed4629dcd (patch) | |
tree | 8c05850f58239bb5afce460aa0cda53f4c5d90e5 /src/game/bg_pmove.c | |
parent | 6309be1a9c63e1ad9eb2c48ac52be173f9183dbb (diff) |
Movement anarchy
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r-- | src/game/bg_pmove.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index a23cd54..d0c0767 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -1384,10 +1384,10 @@ static void PM_DeadMove( void ) if( !pml.walking ) return; - // extra friction + // extra shit forward = VectorLength( pm->ps->velocity ); - forward -= 20; + forward += 20; if( forward <= 0 ) VectorClear( pm->ps->velocity ); @@ -1801,8 +1801,8 @@ static void PM_GroundClimbTrace( void ) } //if we hit something - if( trace.fraction < 1.0f && !( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) && - !( trace.entityNum != ENTITYNUM_WORLD && i != 4 ) ) + if( trace.fraction < 1.0f && /*( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) &&*/ + !( qfalse /*trace.entityNum != ENTITYNUM_WORLD*/ && i != 4 ) ) { if( i == 2 || i == 3 ) { @@ -2126,8 +2126,8 @@ static void PM_GroundTrace( void ) VectorMA( pm->ps->origin, 0.25f, movedir, point ); pm->trace( &trace, pm->ps->origin, pm->mins, pm->maxs, point, pm->ps->clientNum, pm->tracemask ); - if( trace.fraction < 1.0f && !( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) && - ( trace.entityNum == ENTITYNUM_WORLD ) ) + if( trace.fraction < 1.0f /*&& !( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) && + ( trace.entityNum == ENTITYNUM_WORLD )*/ ) { if( !VectorCompare( trace.plane.normal, pm->ps->grapplePoint ) ) { |