Skip to content

Commit

Permalink
Remove jittery when crouch walking and when crouch walking in a tight…
Browse files Browse the repository at this point in the history
… hole (#480)
  • Loading branch information
AdamTadeusz authored Jul 6, 2024
1 parent e929d62 commit 58c1fbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mp/src/game/server/hl2mp/hl2mp_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,11 @@ void CHL2MP_Player::PostThink( void )

if ( GetFlags() & FL_DUCKING )
{
#ifdef NEO
SetCollisionBounds( VEC_DUCK_HULL_MIN, VEC_DUCK_HULL_MAX );
#else
SetCollisionBounds( VEC_CROUCH_TRACE_MIN, VEC_CROUCH_TRACE_MAX );
#endif
}

m_PlayerAnimState.Update();
Expand Down

0 comments on commit 58c1fbc

Please sign in to comment.