X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fscreens.c;h=a5b808a1969462bac0a1bc7b1aefd001a1b49cb3;hp=5400958815c89125710267d08644d2093215f24e;hb=274876d86fc0cb9af7027df86bf4ac46020c1501;hpb=11a3a18aa641fddf965bed8c0ad550512fb78cf9 diff --git a/src/screens.c b/src/screens.c index 54009588..a5b808a1 100644 --- a/src/screens.c +++ b/src/screens.c @@ -3259,7 +3259,7 @@ void HandleInfoScreen_Music(int button) { int sound = list->music; - if (sound_info[sound].loop) + if (IS_LOOP_SOUND(sound)) PlaySoundLoop(sound); else PlaySound(sound); @@ -3270,7 +3270,7 @@ void HandleInfoScreen_Music(int button) { int music = list->music; - if (music_info[music].loop) + if (IS_LOOP_MUSIC(music)) PlayMusicLoop(music); else PlayMusic(music); @@ -3338,7 +3338,7 @@ void HandleInfoScreen_Music(int button) FadeIn(REDRAW_FIELD); } - if (list != NULL && list->is_sound && sound_info[list->music].loop) + if (list != NULL && list->is_sound && IS_LOOP_SOUND(list->music)) PlaySoundLoop(list->music); }