summaryrefslogtreecommitdiff
path: root/src/scenes/place_detail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenes/place_detail.c')
-rw-r--r--src/scenes/place_detail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scenes/place_detail.c b/src/scenes/place_detail.c
index d24d449..f3e1223 100644
--- a/src/scenes/place_detail.c
+++ b/src/scenes/place_detail.c
@@ -685,7 +685,7 @@ void place_detail_show_employee_detail(employee* emp) {
s32 location_id_to_inspect;
if (_active_location == 0 || (_active_location->id != emp->current_location_id && _active_location->id != emp->original_location_id)) {
- s32 location_id_to_inspect = emp->current_location_id;
+ location_id_to_inspect = emp->current_location_id;
if (location_id_to_inspect == INVALID_ID) {
location_id_to_inspect = emp->original_location_id;
}
@@ -960,7 +960,7 @@ static void place_detail_draw_schedule_employee_selector(platform_window* window
}
_active_scheduling_job.timeslots[_active_schedule_selected_job_index].assignee =
- employee_selector_render(window, scale, !is_viewing_existing_timeslot, selected_employee,x,y,w,h, employee_selector_animation, &_active_scheduling_job);
+ employee_selector_render(window, scale, !is_viewing_existing_timeslot, selected_employee,x,y,w,h, employee_selector_animation, &_active_scheduling_job, _active_location);
animation_update(&employee_selector_animation);
}
}