diff --git a/src/audio.c b/src/audio.c index 5153e97..abfacc0 100644 --- a/src/audio.c +++ b/src/audio.c @@ -30,7 +30,7 @@ void initMusic(Mix_Music *music, const char *filename) { Mix_VolumeMusic(MIX_MAX_VOLUME / 10); Mix_SetPostMix(callback, NULL); - if (Mix_PlayMusic(music, 1)) { + if (Mix_PlayMusic(music, -1)) { fprintf(stderr, "Erreur Mix_PlayMusic\n"); exit(2); };