about summary refs log tree commit diff stats
path: root/src/title.c
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-13 19:28:37 -0400
committerCharadon <dev@iotib.net>2022-06-13 19:28:37 -0400
commit520a610a8db7c07423fec086806b48ff2890c9c0 (patch)
treebbe7ad6f4050304eb922abd6fc6fd89f6d0a7f40 /src/title.c
parent0e1a3565cd077a297c07bad7466f317025758b31 (diff)
downloadPong-C-520a610a8db7c07423fec086806b48ff2890c9c0.tar.gz
Revert "Revert "Revert "Revert "Revert "Added liberapay link, and more fruitless work on the internal_clock"""""
This reverts commit 0e1a3565cd077a297c07bad7466f317025758b31.
Diffstat (limited to 'src/title.c')
-rw-r--r--src/title.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/title.c b/src/title.c
index 7a58fb9..c5a15ce 100644
--- a/src/title.c
+++ b/src/title.c
@@ -396,8 +396,8 @@ int title_screen() {
     DisableCursor();
 
     while(TitleScreenGoing == true && GameGoing == true) {
-        internal_clock();
-	printf("%lf, %d\n", GetTime(), Ticks);
+        
+	printf("%lf, %d\n", GetTime(), SDL_AtomicGet(&Ticks));
         if (WindowShouldClose()) { //Quit Game if the window is closed.
             GameGoing = false;
             TitleScreenGoing = false;
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164