mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
menu.c: allow proper music volume adjustment for windows.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@378 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c307083fd1
commit
e70afa3c4d
1 changed files with 0 additions and 4 deletions
|
@ -1034,11 +1034,7 @@ void M_AdjustSliders (int dir)
|
|||
Cvar_SetValue ("scr_sbaralpha", scr_sbaralpha.value);
|
||||
break;
|
||||
case OPT_MUSICVOL: // music volume
|
||||
#ifdef _WIN32
|
||||
bgmvolume.value += dir * 1.0;
|
||||
#else
|
||||
bgmvolume.value += dir * 0.1;
|
||||
#endif
|
||||
if (bgmvolume.value < 0)
|
||||
bgmvolume.value = 0;
|
||||
else if (bgmvolume.value > 1)
|
||||
|
|
Loading…
Reference in a new issue