mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix song 0/7 check using num_pppppp_tracks instead of num_mmmmmm_tracks
Just looked over this and had to do a double-take. It should be num_mmmmmm_tracks, not num_pppppp_tracks, because MMMMMM comes first in the vector of music tracks.
This commit is contained in:
parent
9698b42432
commit
410d80b731
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void musicclass::play(int t, const double position_sec /*= 0.0*/, const int fade
|
|||
currentsong = -1;
|
||||
return;
|
||||
}
|
||||
if (currentsong == 0 || currentsong == 7 || (!map.custommode && (currentsong == 0+num_pppppp_tracks || currentsong == 7+num_pppppp_tracks)))
|
||||
if (currentsong == 0 || currentsong == 7 || (!map.custommode && (currentsong == 0+num_mmmmmm_tracks || currentsong == 7+num_mmmmmm_tracks)))
|
||||
{
|
||||
// Level Complete theme, no fade in or repeat
|
||||
if(Mix_FadeInMusicPos(musicTracks[t].m_music, 0, 0, position_sec)==-1)
|
||||
|
|
Loading…
Reference in a new issue