clear the attack direction indicator...

...when you do right-click-cancel without moving the mouse
This commit is contained in:
Ali El Gariani 2007-06-15 10:39:28 +00:00
parent 75f3056f82
commit c34cae2d42

View file

@ -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();