s = me.languageParameter(me, i, LANGPARM_NAME_LOCALIZED);
vector save_fontscale = draw_fontscale;
- float f = draw_CondensedFontFactor(s, FALSE, me.realFontSize, 1);
+ float f = draw_CondensedFontFactor(s, false, me.realFontSize, 1);
draw_fontscale.x *= f;
vector fs = me.realFontSize;
fs.x *= f;
if(p != "")
{
vector save_fontscale = draw_fontscale;
- float f = draw_CondensedFontFactor(p, FALSE, me.realFontSize, 1);
+ float f = draw_CondensedFontFactor(p, false, me.realFontSize, 1);
draw_fontscale.x *= f;
vector fs = me.realFontSize;
fs.x *= f;
void XonoticLanguageList_doubleClickListBoxItem(entity me, float i, vector where)
{
+ m_play_click_sound(MENU_SOUND_EXECUTE);
me.setLanguage(me);
}
float XonoticLanguageList_keyDown(entity me, float scan, float ascii, float shift)
{
- if(scan == K_ENTER || scan == K_KP_ENTER) {
+ if(scan == K_ENTER || scan == K_KP_ENTER)
+ {
+ m_play_click_sound(MENU_SOUND_EXECUTE);
me.setLanguage(me);
return 1;
}