X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fscreens.c;h=5e0740b6366566b53340f5d1971412ee717941bf;hp=4ee8179d68dc4a564f6349415908df02d2f802a6;hb=39fb4fecfb8d4647d3563bdb18ce0065f6129522;hpb=796c49130a11576aeb603104bdd25a6020598761 diff --git a/src/screens.c b/src/screens.c index 4ee8179d..5e0740b6 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1591,8 +1591,6 @@ void DrawMainMenu() init_last = init; /* switch to new busy animation */ - SetLevelSetInfo(leveldir_current->identifier, level_nr); - /* needed if last screen (level choice) changed graphics, sounds or music */ ReloadCustomArtwork(0); @@ -3098,7 +3096,12 @@ void HandleInfoScreen_Music(int button) } else { - PlayMusic(list->music); + int music = list->music; + + if (music_info[music].loop) + PlayMusicLoop(music); + else + PlayMusic(music); DrawTextSCentered(ystart, font_title, "The Game Background Music:"); }