From a89ad84f4d73e96f6b2a138f204ba8602381305f Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 29 Nov 2017 07:29:01 +0000 Subject: [PATCH] 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 --- source/duke3d/src/anim.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/duke3d/src/anim.cpp b/source/duke3d/src/anim.cpp index a25ab2f76..26f0af39f 100644 --- a/source/duke3d/src/anim.cpp +++ b/source/duke3d/src/anim.cpp @@ -325,6 +325,8 @@ int32_t Anim_Play(const char *fn) animvpx_render_frame(&codec); + VM_OnEventWithReturn(EVENT_CUTSCENE, -1, myconnectindex, framenum); + // after rendering the frame but before displaying: maybe play sound... framenum++; if (anim)