From e33f20ad8e35a736996eca1f6a3a63b85a38b3d0 Mon Sep 17 00:00:00 2001 From: Charadon Date: Mon, 13 Jun 2022 19:28:01 -0400 Subject: Revert "Added liberapay link, and more fruitless work on the internal_clock" This reverts commit 01f47242692c8c5c413b876610061418249e2bd6. --- src/marathon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/marathon.c') diff --git a/src/marathon.c b/src/marathon.c index 7d38242..a04519a 100644 --- a/src/marathon.c +++ b/src/marathon.c @@ -85,7 +85,7 @@ void marathon_main() { Ball.Direction = LEFT; Ball.Speed = 3.0f; Ball.Angle = 0.0f; - Ball.NextTick = Ticks+1; + Ball.NextTick = SDL_AtomicGet(&Ticks)+1; // Init Player struct Players Player; @@ -110,7 +110,6 @@ void marathon_main() { MainCamera.rotation = 0; bool MarathonGoing = true; while(MarathonGoing == true && GameGoing == true) { - internal_clock(); if (WindowShouldClose()) { //Quit Game if the window is closed. GameGoing = false; } -- cgit 1.4.1-2-gfad0