From 322480fdb86f329dc05ae1683c1f15ca48fa709d Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 1 Dec 2024 16:46:22 +0100 Subject: close #38 --- src/scenes/world_map.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/scenes') diff --git a/src/scenes/world_map.c b/src/scenes/world_map.c index 8446f0e..2d9c32b 100644 --- a/src/scenes/world_map.c +++ b/src/scenes/world_map.c @@ -746,11 +746,9 @@ static s32 world_map_push_invest_panel_item(s32 x, s32 y, s32 w, s32 index, char float btn_y = item_y + ((item_h-btn_size)/2); button_render(scale, BUTTON_STATIC, 0, item_x, item_y,item_w,item_h); renderer->render_text(fnt, content_x, content_y, text, COLOR_TEXT); - // Button decrease simulation speed if (push_info_panel_button(scale, img_arrow_left, button_left_x, btn_y, btn_size, *fval > 0, false)) { *fval -= INVESTMENT_INCREMENT; } - // Button increase simulation speed if (push_info_panel_button(scale, img_arrow_right, button_left_x+total_val_editor_w-btn_size, btn_y, btn_size, true, false)) { *fval += INVESTMENT_INCREMENT; } -- cgit v1.2.3-70-g09d2