Browse files

Always show the ellipse for selected units

Part of bug #16350 by eleazar.
  • Loading branch information...
1 parent 38e9c55 commit e2a62e56d958486896c097a40269bb4e976a109e @AI0867 AI0867 committed Jun 23, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/unit.cpp
View
3 src/unit.cpp
@@ -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

0 comments on commit e2a62e5

Please sign in to comment.