From 0f06936b2ac2013567c57c3f1cad4b4ac1b4afdf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 30 Oct 2003 20:50:31 +0000 Subject: [PATCH] const fix --- stepmania/src/BGAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/BGAnimation.cpp b/stepmania/src/BGAnimation.cpp index b89693edb7..9c3c9cb7f3 100644 --- a/stepmania/src/BGAnimation.cpp +++ b/stepmania/src/BGAnimation.cpp @@ -163,7 +163,7 @@ void BGAnimation::LoadFromVisualization( CString sVisPath ) Unload(); BGAnimationLayer* pLayer; - Song* pSong = GAMESTATE->m_pCurSong; + const Song* pSong = GAMESTATE->m_pCurSong; CString sSongBGPath = pSong && pSong->HasBackground() ? pSong->GetBackgroundPath() : THEME->GetPathToG("Common fallback background"); pLayer = new BGAnimationLayer;