From 5e3aeb69c9d0d3ce7d9a36db042680a5f23ceeac Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 15 May 2011 13:49:05 -0500 Subject: [PATCH] added stepstype to an assert msg --- src/ScreenHowToPlay.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ScreenHowToPlay.cpp b/src/ScreenHowToPlay.cpp index 7deca6dd40..747a0bf18b 100644 --- a/src/ScreenHowToPlay.cpp +++ b/src/ScreenHowToPlay.cpp @@ -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 );