Mouse Events: removed an override that only called the base method
This commit is contained in:
parent
773cc212b3
commit
7cedcb57ab
2 changed files with 0 additions and 6 deletions
|
@ -784,11 +784,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_) {
|
||||
|
|
|
@ -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); }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue