mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
[qwaq] Set event type to none when no events
Fixes the endless looping on the last event.
This commit is contained in:
parent
21b64421c3
commit
fb92ee12d6
1 changed files with 1 additions and 0 deletions
|
@ -733,6 +733,7 @@ get_event (qwaq_resources_t *res, qwaq_event_t *event)
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
event->what = qe_none;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue