mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
When changing to same music, reset the internal volume
This commit is contained in:
parent
aa22941d2c
commit
2c823703f9
1 changed files with 5 additions and 0 deletions
|
|
@ -1523,6 +1523,11 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
|
||||||
I_SetSongPosition(position);
|
I_SetSongPosition(position);
|
||||||
I_FadeSong(100, fadeinms, NULL);
|
I_FadeSong(100, fadeinms, NULL);
|
||||||
}
|
}
|
||||||
|
else // reset volume to 100 with same music
|
||||||
|
{
|
||||||
|
I_StopFadingSong();
|
||||||
|
I_SetInternalMusicVolume(100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void S_StopMusic(void)
|
void S_StopMusic(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue