From c57cdfc91f00738188f90e75a9eb25bc5a5ce987 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 25 Aug 2002 05:31:24 +0000 Subject: [PATCH] fixed crash in background (oops!) --- stepmania/src/Background.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index 9a3c9f81c6..d52fc4b0f0 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -119,7 +119,7 @@ void Background::LoadFromSong( Song* pSong ) m_BackgroundMode = MODE_ANIMATIONS; - const CString sSongBackgroundPath = sSongBackgroundPath; + const CString sSongBackgroundPath = pSong->HasBackground() ? pSong->GetBackgroundPath() : THEME->GetPathTo("Graphics","fallback background"); // // Load the static background that will before notes start and after notes end