From 32b9ce643ba1b03c1f5d2ed262f948d9e30f56c8 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Fri, 8 Aug 2025 20:40:41 -0500 Subject: [PATCH] fix outdoor positioning of circle markers --- src/game/boe.town.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/boe.town.cpp b/src/game/boe.town.cpp index 0e41df50..a8ccb5a2 100644 --- a/src/game/boe.town.cpp +++ b/src/game/boe.town.cpp @@ -1497,7 +1497,9 @@ void draw_map(bool need_refresh, std::string tooltip_text) { rect_draw_some_item(map_gworld().getTexture(),the_rect,mini_map(),area_to_draw_on); auto mark_loc = [view_rect, &draw_rect, area_to_draw_on](location where, sf::Color inner, sf::Color outer) -> void { - if((is_explored(where.x,where.y)) && + location real_where = where; + if(is_out()) real_where = local_to_global(where); + if((is_explored(real_where.x,real_where.y)) && ((where.x >= view_rect.left) && (where.x < view_rect.right) && where.y >= view_rect.top && where.y < view_rect.bottom)){ draw_rect.left = area_to_draw_on.left + 6 * (where.x - view_rect.left);