Update client to consider timestamp.

This commit is contained in:
2023-07-12 01:12:18 +01:00
parent b87f2d06ba
commit 09f5684d3e
4 changed files with 14 additions and 6 deletions

View File

@ -14,7 +14,6 @@ void updateInput(struct gameState * state, struct clientInput * message)
void doGameTick(struct gameState * state)
{
state->timestamp = time(NULL);
for (int index = 0; index < 16; index++)
{
// Calculate acceleration: