stop accessing Song::m_vpSteps directly
This commit is contained in:
@@ -155,10 +155,10 @@ ScreenNameEntryTraditional::ScreenNameEntryTraditional( CString sClassName ) : S
|
||||
ss.iActualDancePoints[PLAYER_2] = 100;
|
||||
ss.iScore[PLAYER_2] = 100;
|
||||
ASSERT( ss.pSong );
|
||||
ASSERT( ss.pSong->m_vpSteps.size() );
|
||||
ASSERT( ss.pSong->GetAllSteps().size() );
|
||||
FOREACH_PlayerNumber( p )
|
||||
{
|
||||
GAMESTATE->m_pCurSteps[p] = ss.pSteps[p] = ss.pSong->m_vpSteps[0];
|
||||
GAMESTATE->m_pCurSteps[p] = ss.pSteps[p] = ss.pSong->GetAllSteps()[0];
|
||||
ss.iPossibleDancePoints[p] = 1000;
|
||||
ss.iActualDancePoints[p] = 985;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user