mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed per-level music in RR.
This commit is contained in:
parent
c9a69d96b2
commit
ef63e47cbf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue