From a867b886400ef7706aa31a667a783823b50529d5 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 10 May 2011 09:24:31 -0500 Subject: [PATCH] add missing endless banner --- Themes/_fallback/Graphics/Banner Endless.redir | 1 + src/BPMDisplay.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Themes/_fallback/Graphics/Banner Endless.redir diff --git a/Themes/_fallback/Graphics/Banner Endless.redir b/Themes/_fallback/Graphics/Banner Endless.redir new file mode 100644 index 0000000000..507050cda9 --- /dev/null +++ b/Themes/_fallback/Graphics/Banner Endless.redir @@ -0,0 +1 @@ +Common fallback banner \ No newline at end of file diff --git a/src/BPMDisplay.cpp b/src/BPMDisplay.cpp index 5bdcbd66f4..4412ee9bcd 100644 --- a/src/BPMDisplay.cpp +++ b/src/BPMDisplay.cpp @@ -204,7 +204,8 @@ void BPMDisplay::SetBpmFromCourse( const Course* pCourse ) StepsType st = GAMESTATE->GetCurrentStyle()->m_StepsType; Trail *pTrail = pCourse->GetTrail( st ); - ASSERT( pTrail ); + // GetTranslitFullTitle because "Crashinfo.txt is garbled because of the ANSI output as usual." -f + ASSERT_M( pTrail, ssprintf("Course '%s' has no trail for StepsType '%s'", pCourse->GetTranslitFullTitle(), StringConversion::ToString(st).c_str() ) ); m_fCycleTime = 0.2f;