summaryrefslogtreecommitdiff
path: root/src/scenes/place_detail.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-11-25 15:20:50 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-11-25 15:20:50 +0100
commiteba92835cee8e4c5564ce0e23db15db5b04ad279 (patch)
tree51d518cb02de45dfa33a21e196afaaae061baff0 /src/scenes/place_detail.c
parent82419840618418daa9020029a5347fc0f6e5edc5 (diff)
close #5, close #4
Diffstat (limited to 'src/scenes/place_detail.c')
-rw-r--r--src/scenes/place_detail.c5
1 files changed, 1 insertions, 4 deletions
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)