Mouse Events: removed an override that only called the base method

This commit is contained in:
Charles Dang 2018-03-25 16:48:37 +11:00
parent 11e88dd1ca
commit 0e9eac9ad8
2 changed files with 0 additions and 6 deletions

View file

@ -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_) {

View file

@ -39,7 +39,6 @@ public:
~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); }