From 1bb5d381a38786b0652c798e5371fb0a124ec8a7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 16 Aug 2006 22:54:51 +0000 Subject: [PATCH] set MAX_VISIBLE_ITEMS once --- 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 bc4249758d..0689809f19 100644 --- a/stepmania/src/CourseContentsList.cpp +++ b/stepmania/src/CourseContentsList.cpp @@ -22,6 +22,7 @@ CourseContentsList::CourseContentsList() { for( int i=0; iSetNumItemsToDraw( (float)MAX_VISIBLE_ITEMS ); } CourseContentsList::~CourseContentsList() @@ -73,7 +74,6 @@ void CourseContentsList::SetFromGameState() bool bLoop = pMasterTrail->m_vEntries.size() > uNumEntriesToShow; this->SetLoop( bLoop ); - this->SetNumItemsToDraw( (float)MAX_VISIBLE_ITEMS ); this->Load2(); this->SetTransformFromHeight( m_vpDisplay[0]->GetUnzoomedHeight() ); this->SetSecondsPerItem( 0.7f );