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:
parent
a33dccb68e
commit
e8c833db4b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue