Simplify at the top then cleanup the breaks.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user