diff options
Diffstat (limited to 'src/scenes/world_map.c')
| -rw-r--r-- | src/scenes/world_map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scenes/world_map.c b/src/scenes/world_map.c index 2642bdb..1053420 100644 --- a/src/scenes/world_map.c +++ b/src/scenes/world_map.c @@ -668,7 +668,7 @@ static void world_map_draw_event_log(platform_window* window) s32 highlight_w = text_w;
s32 highlight_h = texth+(inner_pad);
- if (mouse_interacts(text_x, text_y, highlight_w, highlight_h)) {
+ if (e->type != EVENT_TYPE_INFO && mouse_interacts(text_x, text_y, highlight_w, highlight_h)) {
platform_set_cursor(window, CURSOR_POINTER);
renderer->render_rectangle(text_x, text_y, text_w, highlight_h, rgba(255,255,255,20));
@@ -688,6 +688,8 @@ static void world_map_draw_event_log(platform_window* window) place_detail_show_schedule_with_highlighted_job((world_location*)e->data, 0, e->job_time);
break;
+ case EVENT_TYPE_INFO: break;
+
default:
log_assert(0, "Invalid event type.");
break;
|
