projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with not recognizing ".mode_loop: false" for music
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index 4ee8179d68dc4a564f6349415908df02d2f802a6..5e0740b6366566b53340f5d1971412ee717941bf 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-1591,8
+1591,6
@@
void DrawMainMenu()
init_last = init; /* switch to new busy animation */
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);
/* needed if last screen (level choice) changed graphics, sounds or music */
ReloadCustomArtwork(0);
@@
-3098,7
+3096,12
@@
void HandleInfoScreen_Music(int button)
}
else
{
}
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:");
}
DrawTextSCentered(ystart, font_title, "The Game Background Music:");
}