diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c
index 6d485179a416dc5cef34e0231337ef25a346b2f5..7bf67559ca2f0dc7c2f26152fd70452a907634ed 100644
--- a/src/sdl/mixer_sound.c
+++ b/src/sdl/mixer_sound.c
@@ -117,7 +117,7 @@ static int result;
 
 static void var_cleanup(void)
 {
-	loop_point = song_length = 0.0f;
+	song_length = loop_point = 0.0f;
 	music_bytes = fading_source = fading_target =\
 	 fading_timer = fading_duration = 0;