summaryrefslogtreecommitdiff
path: root/src/scenes
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-01 16:27:13 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-01 16:27:13 +0100
commit9a3b6aff943fb16a3e94faaff2517f2b841240f3 (patch)
tree07d66d749ff54cf7c58ecc7f1b21f36b9bfed879 /src/scenes
parentf9c65e9980544b58f01d3d5e174010745c86ae22 (diff)
fix crash
Diffstat (limited to 'src/scenes')
-rw-r--r--src/scenes/world_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scenes/world_map.c b/src/scenes/world_map.c
index 2640d47..70be8c3 100644
--- a/src/scenes/world_map.c
+++ b/src/scenes/world_map.c
@@ -1180,6 +1180,7 @@ static void world_map_draw_bank(platform_window* window)
sprintf(txt, "LOAN: 150K at $%.0f/month. %d days left.",
_active_world->bank_info.loan3.monthly_payment, _active_world->bank_info.loan3.days_left);
renderer->render_text(fnt_big, btn_row_x + textpad, btn_row_y + textpad + txt_offset, txt, COLOR_TEXT);
+ txt_offset += fnt_big->px_h + textpad;
}
if (txt_offset == 0) {