clear the attack direction indicator...
...when you do right-click-cancel without moving the mouse
This commit is contained in:
parent
75f3056f82
commit
c34cae2d42
1 changed files with 1 additions and 0 deletions
|
@ -982,6 +982,7 @@ void mouse_handler::mouse_press(const SDL_MouseButtonEvent& event, const bool br
|
|||
if (gui_->viewing_team() == team_num_-1 && !current_paths_.routes.empty()) {
|
||||
selected_hex_ = gamemap::location();
|
||||
gui_->select_hex(gamemap::location());
|
||||
gui_->set_mouseover_hex_overlay(NULL);
|
||||
gui_->unhighlight_reach();
|
||||
current_paths_ = paths();
|
||||
current_route_.steps.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue