This one felt simpler.
This commit is contained in:
+1
-2
@@ -30,9 +30,8 @@ void Foreground::LoadFromSong( const Song *pSong )
|
|||||||
TEXTUREMAN->SetDefaultTexturePolicy( RageTextureID::TEX_VOLATILE );
|
TEXTUREMAN->SetDefaultTexturePolicy( RageTextureID::TEX_VOLATILE );
|
||||||
|
|
||||||
m_pSong = pSong;
|
m_pSong = pSong;
|
||||||
FOREACH_CONST( BackgroundChange, pSong->GetForegroundChanges(), bgc )
|
for (BackgroundChange const &change : pSong->GetForegroundChanges())
|
||||||
{
|
{
|
||||||
const BackgroundChange &change = *bgc;
|
|
||||||
RString sBGName = change.m_def.m_sFile1,
|
RString sBGName = change.m_def.m_sFile1,
|
||||||
sLuaFile = pSong->GetSongDir() + sBGName + "/default.lua";
|
sLuaFile = pSong->GetSongDir() + sBGName + "/default.lua";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user