diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index a2df5e8f89a..0ad164dc8cc 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -2506,8 +2506,8 @@ void CGameClient::OnPredict() // TClient // New antiping smoothing - //if(m_NewPredictedTick) - // m_PredSmoothingWorld.CopyWorldClean(&m_PredictedWorld); + if(m_NewPredictedTick) + m_PredSmoothingWorld.CopyWorldClean(&m_PredictedWorld); for(int i = 0; i < MAX_CLIENTS; i++) { diff --git a/src/game/client/prediction/gameworld.cpp b/src/game/client/prediction/gameworld.cpp index 271049ca535..4218bb1b9c1 100644 --- a/src/game/client/prediction/gameworld.cpp +++ b/src/game/client/prediction/gameworld.cpp @@ -621,7 +621,6 @@ void CGameWorld::CopyWorldClean(CGameWorld *pFrom) if(pCopy) { pCopy->m_pParent = nullptr; - pEnt->m_pChild = nullptr; this->InsertEntity(pCopy); } }