music.c
changeset 648 bd8389c6dd20
parent 644 030181ff9f59
child 682 6f2ff3d6e04d
     1.1 --- a/music.c	Fri Jun 28 09:54:16 2013 -0700
     1.2 +++ b/music.c	Tue Jul 09 06:59:10 2013 -0700
     1.3 @@ -210,7 +210,9 @@
     1.4          if (music_loops)
     1.5          {
     1.6              Mix_Fading current_fade;
     1.7 -            --music_loops;
     1.8 +            if (music_loops > 0) {
     1.9 +                --music_loops;
    1.10 +            }
    1.11              current_fade = music_playing->fading;
    1.12              music_internal_play(music_playing, 0.0);
    1.13              music_playing->fading = current_fade;