mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
parent
8af427b0c9
commit
6119591c6a
3 changed files with 6 additions and 0 deletions
|
@ -97,10 +97,12 @@ Con_ToggleConsole_f(void)
|
|||
Key_ClearTyping();
|
||||
Con_ClearNotify();
|
||||
|
||||
#ifdef USE_OPENAL
|
||||
if (cl.cinematic_file)
|
||||
{
|
||||
AL_UnqueueRawSamples();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cls.key_dest == key_console)
|
||||
{
|
||||
|
|
|
@ -151,10 +151,12 @@ M_PushMenu(void (*draw)(void), const char *(*key)(int))
|
|||
Cvar_Set("paused", "1");
|
||||
}
|
||||
|
||||
#ifdef USE_OPENAL
|
||||
if (cl.cinematic_file)
|
||||
{
|
||||
AL_UnqueueRawSamples();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* if this menu is already open (and on top),
|
||||
close it => toggling behaviour */
|
||||
|
|
|
@ -760,7 +760,9 @@ OGG_PauseCmd(void)
|
|||
ogg_numbufs = 0;
|
||||
}
|
||||
|
||||
#ifdef USE_OPENAL
|
||||
AL_UnqueueRawSamples();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue