This one felt simpler.

This commit is contained in:
Jason Felds
2013-04-28 17:46:36 -04:00
parent 04b03f0b6e
commit d975984176
+1 -2
View File
@@ -30,9 +30,8 @@ void Foreground::LoadFromSong( const Song *pSong )
TEXTUREMAN->SetDefaultTexturePolicy( RageTextureID::TEX_VOLATILE );
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,
sLuaFile = pSong->GetSongDir() + sBGName + "/default.lua";