From e61abae720739e1be18d0fd5dfce5170f1f7905c Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 18 Feb 2025 10:37:37 -0600 Subject: [PATCH] When party is off-center, draw_party_symbol offset them. Fix #628 --- src/game/boe.graphutil.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game/boe.graphutil.cpp b/src/game/boe.graphutil.cpp index 17be60bc..bfc0ecb7 100644 --- a/src/game/boe.graphutil.cpp +++ b/src/game/boe.graphutil.cpp @@ -436,7 +436,10 @@ void draw_party_symbol(location center) { return; if((is_town()) && (univ.party.town_loc.x > 70)) return; - if(overall_mode == MODE_LOOK_TOWN || cartoon_happening) { + + if(center != univ.party.town_loc) { + if(!is_on_screen(univ.party.town_loc, center)) return; + target.x += univ.party.town_loc.x - center.x; target.y += univ.party.town_loc.y - center.y; }