mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
[qwaq] Set event.when for mouseauto events
This commit is contained in:
parent
2e1bddb94c
commit
655ec3e02b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue