Fix double-click in Allegro back-end when she_mouse_callback() is used

This commit is contained in:
David Capello 2016-03-28 10:16:03 -03:00
parent b62c1e195f
commit f2ba51f1be

View File

@ -211,6 +211,9 @@ void she_mouse_callback(int flags)
if (flags & MOUSE_FLAG_MOVE) {
ev.setType(Event::MouseMove);
queue_event(ev);
// Reset double click status
double_click_level = DOUBLE_CLICK_NONE;
}
// buttons