mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Removed trace.startsolid check
This commit is contained in:
parent
748934edcd
commit
bff58ae615
1 changed files with 0 additions and 7 deletions
|
@ -298,13 +298,6 @@ void PM_StepSlideMove( qboolean gravity )
|
|||
down[ 2 ] -= STEPSIZE;
|
||||
|
||||
pm->trace( &trace, pm->ps->origin, pm->mins, pm->maxs, down, pm->ps->clientNum, pm->tracemask, qtrue, qfalse );
|
||||
if (trace.startsolid) {
|
||||
// Fixed in OPM
|
||||
VectorCopy(nostep_o, pm->ps->origin);
|
||||
VectorCopy(nostep_v, pm->ps->velocity);
|
||||
return;
|
||||
}
|
||||
|
||||
if( !trace.allsolid )
|
||||
{
|
||||
if( bWasOnGoodGround && trace.fraction < 1.0 && trace.plane.normal[ 2 ] < MIN_WALK_NORMAL )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue