Skip to content

Commit

Permalink
Mouse Events: removed an override that only called the base method
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 25, 2018
1 parent 11e88dd commit 0e9eac9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/mouse_events.cpp
Expand Up @@ -499,11 +499,6 @@ pathfind::marked_route mouse_handler::get_route(const unit* un, map_location go_
return mark_route(route);
}

void mouse_handler::mouse_press(const SDL_MouseButtonEvent& event, const bool browse)
{
mouse_handler_base::mouse_press(event, browse);
}

bool mouse_handler::right_click_show_menu(int x, int y, const bool /*browse*/)
{
if(selected_hex_.valid() || unselected_reach_) {
Expand Down
1 change: 0 additions & 1 deletion src/mouse_events.hpp
Expand Up @@ -39,7 +39,6 @@ class mouse_handler : public mouse_handler_base {
~mouse_handler();
static mouse_handler* get_singleton() { return singleton_ ;}
void set_side(int side_number);
void mouse_press(const SDL_MouseButtonEvent& event, const bool browse);
void cycle_units(const bool browse, const bool reverse = false);
void cycle_back_units(const bool browse) { cycle_units(browse, true); }

Expand Down

0 comments on commit 0e9eac9

Please sign in to comment.