[qwaq] Set event.when for mouseauto events

This commit is contained in:
Bill Currie 2020-03-30 23:41:20 +09:00
parent 2e1bddb94c
commit 655ec3e02b

View file

@ -822,6 +822,7 @@ get_event (qwaq_resources_t *res, qwaq_event_t *event)
was_event = 1;
} else if (res->button_state) {
event->what = qe_mouseauto;
event->when = Sys_DoubleTime ();
event->mouse.buttons = res->button_state;
event->mouse.x = res->mouse_x;
event->mouse.y = res->mouse_y;