When party is off-center, draw_party_symbol offset them. Fix #628

This commit is contained in:
2025-02-18 10:37:37 -06:00
committed by Celtic Minstrel
parent dbf5822590
commit e61abae720

View File

@@ -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;
}