const fix

This commit is contained in:
Glenn Maynard
2003-10-30 20:50:31 +00:00
parent e8e7b98b8b
commit 0f06936b2a
+1 -1
View File
@@ -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;