const fix
This commit is contained in:
@@ -163,7 +163,7 @@ void BGAnimation::LoadFromVisualization( CString sVisPath )
|
|||||||
Unload();
|
Unload();
|
||||||
BGAnimationLayer* pLayer;
|
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");
|
CString sSongBGPath = pSong && pSong->HasBackground() ? pSong->GetBackgroundPath() : THEME->GetPathToG("Common fallback background");
|
||||||
|
|
||||||
pLayer = new BGAnimationLayer;
|
pLayer = new BGAnimationLayer;
|
||||||
|
|||||||
Reference in New Issue
Block a user