From 9b7d383e6282f616bac474d0787e240fe379c820 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 22 Jun 2023 23:02:02 +0100 Subject: Center the time in the HUD --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.c') 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) -- cgit v1.2.3