Skip to content

Commit

Permalink
Merge pull request #132 from BSVino/fix-superfall-abort-glitches
Browse files Browse the repository at this point in the history
Do not stop superfall when landing on a player
  • Loading branch information
BSVino authored Sep 29, 2018
2 parents 840a174 + 6f2d82f commit f89c05c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mp/src/game/shared/sdk/sdk_player_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,9 @@ void CSDKPlayerShared::PlayerOnGround( void )
m_flTimeLeftGround = m_pOuter->GetCurrentTime();
m_iWallFlipCount = 0;
m_flSuperFallOthersNextCheck = 0;
m_pOuter->DeactivateSuperfall();
if (!m_pOuter->GetGroundEntity() || !m_pOuter->GetGroundEntity()->IsPlayer()) {
m_pOuter->DeactivateSuperfall();
}
}

void CSDKPlayerShared::ForceUnzoom( void )
Expand Down

0 comments on commit f89c05c

Please sign in to comment.