From 2fbfa88dfaed8daf53e53239c28f7585f4743b5c Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 4 Jan 2020 16:16:12 +0100 Subject: [PATCH] Remove unused trace --- mp/src/game/shared/sdk/sdk_gamemovement.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mp/src/game/shared/sdk/sdk_gamemovement.cpp b/mp/src/game/shared/sdk/sdk_gamemovement.cpp index 16113278b..47fa3b3c7 100644 --- a/mp/src/game/shared/sdk/sdk_gamemovement.cpp +++ b/mp/src/game/shared/sdk/sdk_gamemovement.cpp @@ -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) {