Skip to content

Commit

Permalink
fix(music): swap parameters
Browse files Browse the repository at this point in the history
Commit 678d46e added crossfading, but
accidentally swapped two parameters when invoking "PlayMusic()".
  • Loading branch information
mwerle committed Nov 25, 2024
1 parent d0b8a8b commit 839e7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sound/SoundMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 839e7af

Please sign in to comment.