Skip to content

Commit

Permalink
Update src/sdltiles.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Procyonae and github-actions[bot] authored Jun 12, 2024
1 parent 587d453 commit 7ca462d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sdltiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3968,7 +3968,8 @@ std::optional<tripoint> input_context::get_coordinates( const catacurses::window
}

const point screen_pos = coordinate - win_min;
const bool use_isometric = g->w_overmap && capture_win == g->w_overmap ? false : g->is_tileset_isometric();
const bool use_isometric = g->w_overmap &&
capture_win == g->w_overmap ? false : g->is_tileset_isometric();

const point_bub_ms p = cata_tiles::screen_to_player(
screen_pos, dim.scaled_font_size, win_size,
Expand Down

0 comments on commit 7ca462d

Please sign in to comment.