mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 01:10:51 +00:00
Remove a couple of unnecessary calls to S_ClearSoundLocks()
git-svn-id: https://svn.eduke32.com/eduke32@6815 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6cd5baf5c7
commit
55a436651a
2 changed files with 0 additions and 5 deletions
|
@ -4648,10 +4648,7 @@ void G_HandleLocalKeys(void)
|
||||||
g_demo_rewind = 0;
|
g_demo_rewind = 0;
|
||||||
|
|
||||||
if (g_demo_paused)
|
if (g_demo_paused)
|
||||||
{
|
|
||||||
FX_StopAllSounds();
|
FX_StopAllSounds();
|
||||||
S_ClearSoundLocks();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (KB_KeyPressed(sc_Tab))
|
if (KB_KeyPressed(sc_Tab))
|
||||||
|
@ -6681,7 +6678,6 @@ MAIN_LOOP_RESTART:
|
||||||
if (G_PlaybackDemo())
|
if (G_PlaybackDemo())
|
||||||
{
|
{
|
||||||
FX_StopAllSounds();
|
FX_StopAllSounds();
|
||||||
S_ClearSoundLocks();
|
|
||||||
g_noLogoAnim = 1;
|
g_noLogoAnim = 1;
|
||||||
goto MAIN_LOOP_RESTART;
|
goto MAIN_LOOP_RESTART;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3484,7 +3484,6 @@ static void Menu_Verify(int32_t input)
|
||||||
KB_FlushKeyboardQueue();
|
KB_FlushKeyboardQueue();
|
||||||
KB_ClearKeysDown();
|
KB_ClearKeysDown();
|
||||||
FX_StopAllSounds();
|
FX_StopAllSounds();
|
||||||
S_ClearSoundLocks();
|
|
||||||
|
|
||||||
if (G_LoadPlayerMaybeMulti(*g_quickload) == 0)
|
if (G_LoadPlayerMaybeMulti(*g_quickload) == 0)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue