mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-01 14:11:01 +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;
|
delete mCurrent;
|
||||||
}
|
}
|
||||||
mCurrent = next;
|
mCurrent = next;
|
||||||
//gi->MenuSound(GameInterface::ChooseSound);
|
gi->MenuSound(ChooseSound);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
|
||||||
delete mCurrent;
|
delete mCurrent;
|
||||||
}
|
}
|
||||||
mCurrent = next;
|
mCurrent = next;
|
||||||
//gi->MenuSound(GameInterface::ChooseSound);
|
gi->MenuSound(ChooseSound);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,8 @@ enum EMenuSounds : int
|
||||||
BackSound,
|
BackSound,
|
||||||
CloseSound,
|
CloseSound,
|
||||||
PageSound,
|
PageSound,
|
||||||
ChangeSound
|
ChangeSound,
|
||||||
|
ChooseSound
|
||||||
};
|
};
|
||||||
|
|
||||||
EXTERN_CVAR(Bool, menu_sounds)
|
EXTERN_CVAR(Bool, menu_sounds)
|
||||||
|
|
|
@ -231,6 +231,7 @@ void GameInterface::MenuSound(EMenuSounds snd)
|
||||||
S_MenuSound();
|
S_MenuSound();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ChooseSound:
|
||||||
case CursorSound:
|
case CursorSound:
|
||||||
S_PlaySound(isRR() ? 335 : KICK_HIT, CHAN_AUTO, CHANF_UI);
|
S_PlaySound(isRR() ? 335 : KICK_HIT, CHAN_AUTO, CHANF_UI);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue