- fixed per-level music in RR.

This commit is contained in:
Christoph Oelckers 2020-03-14 18:14:50 +01:00
parent c9a69d96b2
commit ef63e47cbf

View file

@ -568,8 +568,8 @@ static void S_SetMusicIndex(unsigned int m)
void S_PlayLevelMusicOrNothing(unsigned int m)
{
if (RR && mus_redbook && !cd_disabled) return;
auto& mr = m == USERMAPMUSICFAKESLOT ? userMapRecord : mapList[m];
if (RR && mr.music.IsEmpty() && mus_redbook && !cd_disabled) return;
Mus_Play(mr.labelName, mr.music, true);
S_SetMusicIndex(m);
}