mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- fixed: menu sounds no longer got the CHANF_UI flag.
This commit is contained in:
parent
a588c24c4f
commit
4646273569
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue