mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_GoBack: do not play sound effect on MBF_SOUNDLESS menus
This commit is contained in:
parent
8fa01ee558
commit
e05daf0f11
1 changed files with 4 additions and 1 deletions
|
|
@ -926,6 +926,8 @@ void M_SetupNextMenu(menu_t *menudef, boolean notransition)
|
|||
|
||||
void M_GoBack(INT32 choice)
|
||||
{
|
||||
const INT16 behaviourflags = currentMenu->behaviourflags;
|
||||
|
||||
(void)choice;
|
||||
|
||||
noFurtherInput = true;
|
||||
|
|
@ -948,7 +950,8 @@ void M_GoBack(INT32 choice)
|
|||
else // No returning to the title screen.
|
||||
M_QuitSRB2(-1);
|
||||
|
||||
S_StartSound(NULL, sfx_s3k5b);
|
||||
if (!(behaviourflags & MBF_SOUNDLESS))
|
||||
S_StartSound(NULL, sfx_s3k5b);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue