Skip to content

Commit

Permalink
Always show the ellipse for selected units
Browse files Browse the repository at this point in the history
Part of bug #16350 by eleazar.
  • Loading branch information
AI0867 committed Jun 23, 2013
1 parent 38e9c55 commit e2a62e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unit.cpp
Expand Up @@ -1933,7 +1933,8 @@ void unit::redraw_unit()
surface ellipse_front(NULL);
surface ellipse_back(NULL);
int ellipse_floating = 0;
if(draw_bars && preferences::show_side_colors()) {
// Always show the ellipse for selected units
if(draw_bars && (preferences::show_side_colors() || disp.selected_hex() == loc_)) {
if(adjusted_params.submerge > 0.0) {
// The division by 2 seems to have no real meaning,
// It just works fine with the current center of ellipse
Expand Down

0 comments on commit e2a62e5

Please sign in to comment.