From 7b4117b94a8d303a1f71e546d3fb28d63561d9c4 Mon Sep 17 00:00:00 2001 From: Vecais Dumais Laacis Date: Wed, 8 Aug 2007 08:38:18 +0000 Subject: [PATCH] revert changes as course contents list should be updated only when trail changes not course changes --- stepmania/src/CourseContentsList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/CourseContentsList.cpp b/stepmania/src/CourseContentsList.cpp index f194542c20..fe6194daf1 100644 --- a/stepmania/src/CourseContentsList.cpp +++ b/stepmania/src/CourseContentsList.cpp @@ -79,7 +79,7 @@ void CourseContentsList::SetItemFromGameState( Actor *pActor, int iCourseEntryIn FOREACH_HumanPlayer(pn) { const Trail *pTrail = GAMESTATE->m_pCurTrail[pn]; - if( pTrail == NULL || iCourseEntryIndex >= (int) pTrail->m_vEntries.size() || iCourseEntryIndex >= (int) pCourse->m_vEntries.size() ) + if( pTrail == NULL || iCourseEntryIndex >= (int) pTrail->m_vEntries.size() ) continue; const TrailEntry *te = &pTrail->m_vEntries[iCourseEntryIndex];