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;