mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
CON: Run EVENT_CUTSCENE during IVFs as well.
Changing the frame of an IVF file is unsupported, so its only purpose is to play sounds. Patch from Fox. git-svn-id: https://svn.eduke32.com/eduke32@6505 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
38df0b7e82
commit
a89ad84f4d
1 changed files with 2 additions and 0 deletions
|
@ -325,6 +325,8 @@ int32_t Anim_Play(const char *fn)
|
||||||
|
|
||||||
animvpx_render_frame(&codec);
|
animvpx_render_frame(&codec);
|
||||||
|
|
||||||
|
VM_OnEventWithReturn(EVENT_CUTSCENE, -1, myconnectindex, framenum);
|
||||||
|
|
||||||
// after rendering the frame but before displaying: maybe play sound...
|
// after rendering the frame but before displaying: maybe play sound...
|
||||||
framenum++;
|
framenum++;
|
||||||
if (anim)
|
if (anim)
|
||||||
|
|
Loading…
Reference in a new issue