Update sound during loops

This commit is contained in:
NepDisk 2025-11-10 06:52:25 -05:00
parent a148e5eda1
commit db466f410b
3 changed files with 1 additions and 2 deletions

View file

@ -900,6 +900,7 @@ void D_WipeLoop(wipelooptype_t type, UINT8 wipetype, boolean drawMenu)
ST_preLevelTitleCardDrawer();
D_WipeDraw(drawMenu);
I_UpdateSound();
// Only take screenshots after drawing.
if (moviemode)

View file

@ -366,7 +366,6 @@ void F_RunWipe(UINT8 wipetype, boolean drawMenu)
// Init the wipe
wipe_scr = vid.screens[0];
I_UpdateSound();
D_WipeLoop(WIPELOOP_RUNWIPE, wipetype, drawMenu);
#endif
}

View file

@ -1788,7 +1788,6 @@ void G_StartTitleCard(void)
void G_PreLevelTitleCard(void)
{
#ifndef NOWIPE
I_UpdateSound();
D_WipeLoop(WIPELOOP_TITLECARD, 0, false);
#endif
}