Fix song selection in trail generation (for nonstop/oni)

This commit is contained in:
Jonathan Albert
2019-05-16 13:46:03 -04:00
committed by quietly turning
parent 42f989b684
commit ff75af1f20
+2 -2
View File
@@ -454,9 +454,9 @@ bool Course::GetTrailUnsorted( StepsType st, CourseDifficulty cd, Trail &trail )
}
else
{
vector<SongAndSteps> vSongAndSteps;
for (std::vector<CourseEntry>::const_iterator e = entries.begin(); e != entries.end(); ++e)
for (auto e = entries.begin(); e != entries.end(); ++e)
{
vector<SongAndSteps> vSongAndSteps;
SongAndSteps resolved; // fill this in
SongCriteria soc = e->songCriteria;