Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always show the ellipse for selected units

Part of bug #16350 by eleazar.
  • Loading branch information...
commit e2a62e56d958486896c097a40269bb4e976a109e 1 parent 38e9c55
@AI0867 AI0867 authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.