Skip to content

Commit

Permalink
Merge pull request #157 from BSVino/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
TomyLobo authored Dec 24, 2020
2 parents eecd1f3 + 2fbfa88 commit 7adde12
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mp/src/game/shared/sdk/sdk_gamemovement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1959,12 +1959,6 @@ void CSDKGameMovement::Duck( void )
}
else if( m_pSDKPlayer->m_Shared.IsDiving() )
{
trace_t tr;
Vector start, end;

VectorCopy (mv->GetAbsOrigin (), start);
VectorAdd (start, Vector (0, 0, -128), end);
TraceBBox (start, end, GetPlayerMins (), GetPlayerMaxs (), tr);
if (m_pSDKPlayer->GetGroundEntity() &&
m_pSDKPlayer->GetCurrentTime() > m_pSDKPlayer->m_Shared.GetDiveTime() + DIVE_RISE_TIME)
{
Expand Down

0 comments on commit 7adde12

Please sign in to comment.