summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data.c1
-rw-r--r--src/include/data.h1
-rw-r--r--src/scenes/world_map.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 3698908..bf84628 100644
--- a/src/data.c
+++ b/src/data.c
@@ -52,6 +52,7 @@ void data_load()
img_hired = assets_load_image_from_file("data/img/hired.png");
img_denied = assets_load_image_from_file("data/img/denied.png");
img_world_map = assets_load_image_from_file("data/img/world_background.png");
+ img_invest = assets_load_image_from_file("data/img/invest.png");
img_panel_bottom = assets_load_image_from_file("data/img/panel_bottom.png");
img_panel_top = assets_load_image_from_file("data/img/panel_top.png");
diff --git a/src/include/data.h b/src/include/data.h
index 1f13791..65f7389 100644
--- a/src/include/data.h
+++ b/src/include/data.h
@@ -54,6 +54,7 @@ image* img_signature;
image* img_hired;
image* img_denied;
image* img_world_map;
+image* img_invest;
image* img_button_bottom;
image* img_button_top;
diff --git a/src/scenes/world_map.c b/src/scenes/world_map.c
index 63e988c..1e3f76d 100644
--- a/src/scenes/world_map.c
+++ b/src/scenes/world_map.c
@@ -167,7 +167,7 @@ static void world_map_draw_info_panel(platform_window* window, bool enabled)
push_info_panel_button(scale, img_bank, screen_center_x - (total_btn_w/2) + (btn_size+btn_spacing)*2, btn_y, btn_size, enabled, false);
// Event log button
- if (push_info_panel_button(scale, img_list, screen_center_x - (total_btn_w/2) + (btn_size+btn_spacing)*3, btn_y, btn_size, enabled, _active_world->log.has_unread_messages)) {
+ if (push_info_panel_button(scale, img_invest, screen_center_x - (total_btn_w/2) + (btn_size+btn_spacing)*3, btn_y, btn_size, enabled, _active_world->log.has_unread_messages)) {
scene_state = (scene_state == WORLD_SCENE_STATE_INVEST) ? WORLD_SCENE_STATE_IDLE : WORLD_SCENE_STATE_INVEST;
}
}