mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +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