From eba92835cee8e4c5564ce0e23db15db5b04ad279 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 25 Nov 2024 15:20:50 +0100 Subject: close #5, close #4 --- src/scenes/place_detail.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/scenes') diff --git a/src/scenes/place_detail.c b/src/scenes/place_detail.c index 4519cfa..b174b5b 100644 --- a/src/scenes/place_detail.c +++ b/src/scenes/place_detail.c @@ -1580,13 +1580,10 @@ static void place_detail_draw_location_stats(platform_window* window) { font* fnt = fnt_rd20; float text_pad = scale * 40.0; - - //s32 w = (area.w * 0.9 - (offset*2)); - s32 text_x = area.x + text_pad + (area.w*0.75); s32 text_y = area.y + text_pad + (area.w*0.05); - DRAW_STARS(text_x, text_y, "Score: ", 5); + DRAW_STARS(text_x, text_y, "Score: ", (int)round(_active_location->score * 5)); } static void place_detail_draw_title(platform_window* window) -- cgit v1.2.3-70-g09d2