Fix bug #13251: Units move on their own when using "next unit"

This commit is contained in:
Ali El Gariani 2009-03-29 00:57:44 +00:00
parent b65eff7574
commit b13512e65e

View File

@ -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*/)