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:
sezero 2011-01-05 21:30:37 +00:00
parent c307083fd1
commit e70afa3c4d

View file

@ -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)