mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 11:05:35 +00:00
Fix bug #13251: Units move on their own when using "next unit"
This commit is contained in:
parent
b65eff7574
commit
b13512e65e
@ -258,9 +258,10 @@ bool mouse_handler_base::right_click(int x, int y, const bool browse)
|
||||
return false;
|
||||
}
|
||||
|
||||
void mouse_handler_base::right_drag_end(int x, int y, const bool browse)
|
||||
void mouse_handler_base::right_drag_end(int /*x*/, int /*y*/, const bool /*browse*/)
|
||||
{
|
||||
left_click(x, y, browse);
|
||||
//FIXME: This is called when we select an option in context-menu,
|
||||
// which is bad because that was not a real dragging
|
||||
}
|
||||
|
||||
void mouse_handler_base::right_mouse_up(int /*x*/, int /*y*/, const bool /*browse*/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user