From f601494508a96dde473765614eeefaed552ca59c Mon Sep 17 00:00:00 2001 From: Massena Date: Mon, 11 Jan 2021 17:07:23 +0100 Subject: [PATCH] fixed timer cuz the dev didn't want to do his job --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index bf4586f..a57ffc4 100644 --- a/src/draw.c +++ b/src/draw.c @@ -138,7 +138,7 @@ void erase_tile(int x, int y, char level[]) void draw_timer(unsigned int step) { - dprint(0, 0, C_WHITE, C_BLACK, "%u.%02u", (step*2)/FPS, (step*2)%FPS); + dprint_opt(0, 0, C_WHITE, C_BLACK, DTEXT_LEFT, DTEXT_TOP, "%u.%02u", (step*2)/FPS, (step*2)%FPS); } void just_breathe(unsigned int step)