Simplify at the top then cleanup the breaks.

This commit is contained in:
Steve Checkoway
2006-09-16 19:28:44 +00:00
parent 4e7afa70fb
commit ba8b31a1cf
+1 -2
View File
@@ -75,8 +75,7 @@ void LifeMeterTime::OnLoadSong()
Course* pCourse = GAMESTATE->m_pCurCourse; Course* pCourse = GAMESTATE->m_pCurCourse;
ASSERT( pCourse ); ASSERT( pCourse );
const CourseEntry *pEntry = &pCourse->m_vEntries[GAMESTATE->GetCourseSongIndex()]; m_fLifeTotalGainedSeconds += pCourse->m_vEntries[GAMESTATE->GetCourseSongIndex()].fGainSeconds;
m_fLifeTotalGainedSeconds += pEntry->fGainSeconds;
m_soundGainLife.Play(); m_soundGainLife.Play();
} }