Added a call to display::highlight method in cycle_units to fix bug 8798.

I think it doesn't break anything, but as a side effect, when you use 'n' now
you can attack directly an enemy without having to select again the unit, which
IMHO is better and closes a bug somebody opened in Debian
This commit is contained in:
Isaac Clerencia Perez 2004-07-26 13:14:08 +00:00
parent a33dccb68e
commit e8c833db4b

View file

@ -1112,6 +1112,7 @@ void turn_info::cycle_units()
next_unit_ = it->first;
selected_hex_ = next_unit_;
gui_.select_hex(selected_hex_);
gui_.highlight_hex(selected_hex_);
current_route_.steps.clear();
gui_.set_route(NULL);
show_attack_options(it);