Skip to content

Commit e61abae

Browse files
NQNStudiosCelticMinstrel
authored andcommitted
When party is off-center, draw_party_symbol offset them. Fix #628
1 parent dbf5822 commit e61abae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/game/boe.graphutil.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,10 @@ void draw_party_symbol(location center) {
436436
return;
437437
if((is_town()) && (univ.party.town_loc.x > 70))
438438
return;
439-
if(overall_mode == MODE_LOOK_TOWN || cartoon_happening) {
439+
440+
if(center != univ.party.town_loc) {
441+
if(!is_on_screen(univ.party.town_loc, center)) return;
442+
440443
target.x += univ.party.town_loc.x - center.x;
441444
target.y += univ.party.town_loc.y - center.y;
442445
}

0 commit comments

Comments
 (0)