if(cvar("menu_sounds") > 1)
if(time - menuLastFocusSoundTime > 0.25)
{
- localsound("sound/menu/focus.wav");
+ localsound(MENU_SOUND_FOCUS);
menuLastFocusSoundTime = time;
}
}
const string MENU_SOUND_CLEAR = "sound/menu/clear.wav";
const string MENU_SOUND_CLOSE = "sound/menu/close.wav";
const string MENU_SOUND_EXECUTE = "sound/menu/execute.wav";
+const string MENU_SOUND_FOCUS = "sound/menu/focus.wav";
const string MENU_SOUND_OPEN = "sound/menu/open.wav";
const string MENU_SOUND_SELECT = "sound/menu/select.wav";
const string MENU_SOUND_SLIDE = "sound/menu/slide.wav";