mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Volume fixes
# Conflicts: # src/sdl/mixer_sound.c
This commit is contained in:
parent
2961d32e4a
commit
07cfc1a29a
2 changed files with 5 additions and 3 deletions
|
|
@ -1587,11 +1587,13 @@ void S_SetMusicVolume(INT32 digvolume, INT32 seqvolume)
|
|||
switch(I_SongType())
|
||||
{
|
||||
case MU_MID:
|
||||
case MU_MOD:
|
||||
case MU_GME:
|
||||
//case MU_MOD:
|
||||
//case MU_GME:
|
||||
I_SetMusicVolume(seqvolume&31);
|
||||
break;
|
||||
default:
|
||||
I_SetMusicVolume(digvolume&31);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -769,7 +769,7 @@ void I_ResumeSong(void)
|
|||
|
||||
void I_SetMusicVolume(UINT8 volume)
|
||||
{
|
||||
if (!music)
|
||||
if (!I_SongPlaying())
|
||||
return;
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue