mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
S_SetSfxVolume/S_SetMusicVolume: update static copy of volume
blame c9ad926e7
This commit is contained in:
parent
fdddbcfd82
commit
6480aced64
1 changed files with 2 additions and 2 deletions
|
|
@ -990,7 +990,7 @@ void S_UpdateClosedCaptions(void)
|
|||
void S_SetSfxVolume(INT32 volume)
|
||||
{
|
||||
//CV_SetValue(&cv_soundvolume, volume);
|
||||
actualsfxvolume = cv_soundvolume.value * USER_VOLUME_SCALE;
|
||||
actualsfxvolume = volume * USER_VOLUME_SCALE;
|
||||
|
||||
#ifdef HW3SOUND
|
||||
hws_mode == HWS_DEFAULT_MODE ? I_SetSfxVolume(volume&0x1F) : HW3S_SetSfxVolume(volume&0x1F);
|
||||
|
|
@ -2350,7 +2350,7 @@ void S_SetMusicVolume(INT32 digvolume)
|
|||
digvolume = cv_digmusicvolume.value;
|
||||
|
||||
//CV_SetValue(&cv_digmusicvolume, digvolume);
|
||||
actualdigmusicvolume = cv_digmusicvolume.value * USER_VOLUME_SCALE;
|
||||
actualdigmusicvolume = digvolume * USER_VOLUME_SCALE;
|
||||
I_SetMusicVolume(digvolume);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue