mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
parent
f363aca1b7
commit
454e0e36c9
3 changed files with 5 additions and 3 deletions
|
@ -119,7 +119,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
|
|||
delete mCurrent;
|
||||
}
|
||||
mCurrent = next;
|
||||
//gi->MenuSound(GameInterface::ChooseSound);
|
||||
gi->MenuSound(ChooseSound);
|
||||
}
|
||||
return true;
|
||||
|
||||
|
@ -135,7 +135,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
|
|||
delete mCurrent;
|
||||
}
|
||||
mCurrent = next;
|
||||
//gi->MenuSound(GameInterface::ChooseSound);
|
||||
gi->MenuSound(ChooseSound);
|
||||
}
|
||||
return true;
|
||||
|
||||
|
|
|
@ -94,7 +94,8 @@ enum EMenuSounds : int
|
|||
BackSound,
|
||||
CloseSound,
|
||||
PageSound,
|
||||
ChangeSound
|
||||
ChangeSound,
|
||||
ChooseSound
|
||||
};
|
||||
|
||||
EXTERN_CVAR(Bool, menu_sounds)
|
||||
|
|
|
@ -231,6 +231,7 @@ void GameInterface::MenuSound(EMenuSounds snd)
|
|||
S_MenuSound();
|
||||
break;
|
||||
|
||||
case ChooseSound:
|
||||
case CursorSound:
|
||||
S_PlaySound(isRR() ? 335 : KICK_HIT, CHAN_AUTO, CHANF_UI);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue