diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 0753b16ce..936405739 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -4233,8 +4233,6 @@ void CClient::GetSmoothTick(int *pSmoothTick, float *pSmoothIntraTick, float Mix int64 PredTime = m_PredictedTime.Get(time_get()); int64 SmoothTime = clamp(GameTime + (int64)(MixAmount * (PredTime - GameTime)), GameTime, PredTime); - if(pSmoothTick) - *pSmoothTick = (int)(SmoothTime*50/time_freq())+1; - if(pSmoothIntraTick) - *pSmoothIntraTick = (SmoothTime - (*pSmoothTick-1)*time_freq()/50) / (float)(time_freq()/50); + *pSmoothTick = (int)(SmoothTime*50/time_freq())+1; + *pSmoothIntraTick = (SmoothTime - (*pSmoothTick-1)*time_freq()/50) / (float)(time_freq()/50); }