From 839e7affd6e73b9731a12719b7ce7c46142a3dd2 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Mon, 25 Nov 2024 09:25:33 +0900 Subject: [PATCH] fix(music): swap parameters Commit 678d46e4a1efec765322076090fa54349a8af6ea added crossfading, but accidentally swapped two parameters when invoking "PlayMusic()". --- src/sound/SoundMusic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/SoundMusic.cpp b/src/sound/SoundMusic.cpp index 6414b0565a..06f2b7fe5c 100644 --- a/src/sound/SoundMusic.cpp +++ b/src/sound/SoundMusic.cpp @@ -50,7 +50,7 @@ namespace Sound { current = &m_eventTwo; next = &m_eventOne; } - next->PlayMusic(name.c_str(), m_volume, repeat, fadeDelta, current); + next->PlayMusic(name.c_str(), m_volume, fadeDelta, repeat, current); m_playing = true; m_currentSongName = name; }