Skip to content

Commit

Permalink
test12
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Dec 19, 2024
1 parent 4068629 commit 4f083b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/client/gameclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down
1 change: 0 additions & 1 deletion src/game/client/prediction/gameworld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ void CGameWorld::CopyWorldClean(CGameWorld *pFrom)
if(pCopy)
{
pCopy->m_pParent = nullptr;
pEnt->m_pChild = nullptr;
this->InsertEntity(pCopy);
}
}
Expand Down

0 comments on commit 4f083b4

Please sign in to comment.