From 4f083b4fe01fc4ff4a8df5b3bf30eea3682a475a Mon Sep 17 00:00:00 2001 From: Tater Date: Wed, 18 Dec 2024 20:13:42 -0600 Subject: [PATCH] test12 --- src/game/client/gameclient.cpp | 4 ++-- src/game/client/prediction/gameworld.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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); } }