mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Adjust volumes by 5% in menu
This commit is contained in:
parent
922f6aa9f8
commit
ce4dc9fbc9
1 changed files with 5 additions and 0 deletions
|
|
@ -2379,6 +2379,11 @@ static void M_ChangeCvar(INT32 choice)
|
||||||
||((currentMenu->menuitems[itemOn].status & IT_CVARTYPE) == IT_CV_INVISSLIDER)
|
||((currentMenu->menuitems[itemOn].status & IT_CVARTYPE) == IT_CV_INVISSLIDER)
|
||||||
||((currentMenu->menuitems[itemOn].status & IT_CVARTYPE) == IT_CV_NOMOD))
|
||((currentMenu->menuitems[itemOn].status & IT_CVARTYPE) == IT_CV_NOMOD))
|
||||||
{
|
{
|
||||||
|
if (cv == &cv_digmusicvolume || cv == &cv_soundvolume)
|
||||||
|
{
|
||||||
|
choice *= 5;
|
||||||
|
}
|
||||||
|
|
||||||
CV_SetValue(cv,cv->value+choice);
|
CV_SetValue(cv,cv->value+choice);
|
||||||
}
|
}
|
||||||
else if (cv->flags & CV_FLOAT)
|
else if (cv->flags & CV_FLOAT)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue