- fixed: menu sounds no longer got the CHANF_UI flag.

This commit is contained in:
Christoph Oelckers 2020-01-04 19:32:05 +01:00
parent a588c24c4f
commit 4646273569
2 changed files with 2 additions and 2 deletions

View file

@ -284,7 +284,7 @@ class Menu : Object native ui version("2.4")
static void MenuSound(Sound snd)
{
S_StartSound (snd, CHAN_VOICE, CHANF_MAYBE_LOCAL, snd_menuvolume, ATTN_NONE);
S_StartSound (snd, CHAN_VOICE, CHANF_MAYBE_LOCAL|CHAN_UI, snd_menuvolume, ATTN_NONE);
}
deprecated("4.0") static void DrawConText (int color, int x, int y, String str)

View file

@ -715,7 +715,7 @@ class StatusScreen abstract play version("2.5")
static void PlaySound(Sound snd)
{
S_StartSound(snd, CHAN_VOICE, CHANF_MAYBE_LOCAL, 1, ATTN_NONE);
S_StartSound(snd, CHAN_VOICE, CHANF_MAYBE_LOCAL|CHANF_UI, 1, ATTN_NONE);
}