added stepstype to an assert msg

This commit is contained in:
AJ Kelly
2011-05-15 13:49:05 -05:00
parent f8f4453637
commit 5e3aeb69c9
+1 -2
View File
@@ -144,8 +144,7 @@ void ScreenHowToPlay::Init()
const Style* pStyle = GAMESTATE->GetCurrentStyle();
Steps *pSteps = SongUtil::GetStepsByDescription( &m_Song, pStyle->m_StepsType, "" );
// todo: make StepsType human readable. -aj
ASSERT_M( pSteps != NULL, "No playable steps for ScreenHowToPlay" );
ASSERT_M( pSteps != NULL, ssprintf("No playable steps of StepsType '%s' for ScreenHowToPlay", StringConversion::ToString(pStyle->m_StepsType).c_str()) );
NoteData tempNoteData;
pSteps->GetNoteData( tempNoteData );