mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fix doubling the volume
This commit is contained in:
parent
b21a0a8cf2
commit
65cc5f52f2
1 changed files with 2 additions and 2 deletions
|
|
@ -939,9 +939,9 @@ void S_UpdateSounds(void)
|
||||||
memset(&listener4, 0, sizeof(listener_t));
|
memset(&listener4, 0, sizeof(listener_t));
|
||||||
|
|
||||||
// Update sound/music volumes, if changed manually at console
|
// Update sound/music volumes, if changed manually at console
|
||||||
if (actualsfxvolume != cv_soundvolume.value)
|
if (actualsfxvolume != cv_soundvolume.value * USER_VOLUME_SCALE)
|
||||||
S_SetSfxVolume (cv_soundvolume.value);
|
S_SetSfxVolume (cv_soundvolume.value);
|
||||||
if (actualdigmusicvolume != cv_digmusicvolume.value)
|
if (actualdigmusicvolume != cv_digmusicvolume.value * USER_VOLUME_SCALE)
|
||||||
S_SetDigMusicVolume (cv_digmusicvolume.value);
|
S_SetDigMusicVolume (cv_digmusicvolume.value);
|
||||||
|
|
||||||
// We're done now, if we're not in a level.
|
// We're done now, if we're not in a level.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue