simplify
This commit is contained in:
@@ -185,16 +185,12 @@ void ScreenGameplay::Init()
|
|||||||
{
|
{
|
||||||
Course* pCourse = GAMESTATE->m_pCurCourse;
|
Course* pCourse = GAMESTATE->m_pCurCourse;
|
||||||
ASSERT( pCourse );
|
ASSERT( pCourse );
|
||||||
const StepsType st = GAMESTATE->GetCurrentStyleDef()->m_StepsType;
|
|
||||||
|
|
||||||
/* Increment the play count. */
|
/* Increment the play count. */
|
||||||
if( !m_bDemonstration )
|
if( !m_bDemonstration )
|
||||||
{
|
{
|
||||||
FOREACH_EnabledPlayer(p)
|
FOREACH_EnabledPlayer(p)
|
||||||
{
|
PROFILEMAN->IncrementCoursePlayCount( pCourse, GAMESTATE->m_pCurTrail[p], p );
|
||||||
Trail* pTrail = GAMESTATE->m_pCurTrail[p];
|
|
||||||
PROFILEMAN->IncrementCoursePlayCount( pCourse, pTrail, p );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_apSongsQueue.clear();
|
m_apSongsQueue.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user