Skip to content

Commit

Permalink
fix camera bounds on respawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Nov 8, 2023
1 parent d5b8676 commit d12af91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/injected/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2226,6 +2226,7 @@ void respawn()
g_game_manager->journal_ui->state = 5;
g_state->camera->focus_offset_x = 0;
g_state->camera->focus_offset_y = 0;
set_camera_bounds(true);
}
for (int8_t i = 0; i < g_state->items->player_count; ++i)
{
Expand Down

0 comments on commit d12af91

Please sign in to comment.