aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-22 23:02:02 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-22 23:02:02 +0100
commit9b7d383e6282f616bac474d0787e240fe379c820 (patch)
tree36bf7ad42f2e11fbb53607b43a04436e5b8d2c0c /src/game.c
parent296a184b4a102a5224a0c7cb209b111cbbc482a6 (diff)
downloadgold-mine-run-9b7d383e6282f616bac474d0787e240fe379c820.tar.gz
gold-mine-run-9b7d383e6282f616bac474d0787e240fe379c820.zip
Center the time in the HUD
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 4c1d55b..c489417 100644
--- a/src/game.c
+++ b/src/game.c
@@ -50,7 +50,7 @@ static void hud_render()
/* lives */
blitrc(binary_sprites_start, &src, &dst);
- put_text(136, 4, "TIME", 1);
+ put_text(132, 4, "TIME", 1);
put_text(249, 4, "STAGE", 1);
}
@@ -69,7 +69,7 @@ static void hud_render()
if (hud & HUD_TIME)
{
sprintf(b, "%02d", time);
- put_text(176, 4, b, time > 10 ? 1 : 15);
+ put_text(172, 4, b, time > 10 ? 1 : 15);
}
if (hud & HUD_STAGE)