Skip to content

Commit

Permalink
yump2
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyAG authored Oct 10, 2024
1 parent 63a1377 commit 6a73037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1706,9 +1706,11 @@ void CBasePlayer::Jump()

// jump velocity is sqrt( height * gravity * 2)

/*
// If this isn't the first frame pressing the jump button, break out.
if ( !FBitSet( m_afButtonPressed, IN_JUMP ) )
return; // don't pogo stick
*/

if ( !(pev->flags & FL_ONGROUND) || !pev->groundentity )
{
Expand Down

0 comments on commit 6a73037

Please sign in to comment.