From 21c4f840c765ef0e7157784afc8c05236ac99c12 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 28 Mar 2003 02:15:29 +0000 Subject: [PATCH] fix tweening --- 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 88e58a09d3..b21340ca6d 100644 --- a/stepmania/src/CourseContentsList.cpp +++ b/stepmania/src/CourseContentsList.cpp @@ -140,8 +140,8 @@ void CourseContentsList::TweenInAfterChangedCourse() { CourseEntryDisplay& display = m_CourseContentDisplays[i]; - display.SetXY( 0, -((MAX_VISIBLE_CONTENTS-1)/2) * float(ContentsBarHeight) ); display.StopTweening(); + display.SetXY( 0, -((MAX_VISIBLE_CONTENTS-1)/2) * float(ContentsBarHeight) ); display.BeginTweening( i*0.1f ); display.SetTweenY( (-(MAX_VISIBLE_CONTENTS-1)/2 + i) * float(ContentsBarHeight) ); }