Skip to content

Commit

Permalink
Moving Tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
M0REKZ committed Jan 3, 2025
1 parent 0b4b00b commit aceb92e
Show file tree
Hide file tree
Showing 11 changed files with 709 additions and 79 deletions.
2 changes: 2 additions & 0 deletions src/game/client/gameclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3090,6 +3090,8 @@ void CGameClient::UpdatePrediction()
pDummyChar->SetInput(pInput);
}

m_Collision.SetTime(static_cast<double>(m_GameWorld.GameTick() - m_LastRoundStartTick)/m_GameWorld.GameTickSpeed()); //Set time for moving tiles

for(int i = 0; i < MAX_CLIENTS; i++)
if(CCharacter *pChar = m_GameWorld.GetCharacterById(i))
{
Expand Down
Loading

0 comments on commit aceb92e

Please sign in to comment.