This commit is contained in:
Glenn Maynard
2003-01-23 04:43:44 +00:00
parent 1369092656
commit f0f6221b18
-3
View File
@@ -61,7 +61,6 @@ void Banner::SetScrolling( bool bScroll, float Percent)
/* Set up the texture coord rects for the current state. */
Update(0);
}
#include "RageLog.h"
void Banner::LoadFromSong( Song* pSong ) // NULL means no song
{
@@ -69,12 +68,10 @@ void Banner::LoadFromSong( Song* pSong ) // NULL means no song
Sprite::TurnShadowOff();
LOG->Trace("xxxxxxx");
if( pSong == NULL ) LoadFallback();
else if( pSong->HasBanner() )
{
/* Song banners often have HOT PINK color keys. */
LOG->Trace("xxxxxxx 2 %s", pSong->GetBannerPath().GetString());
RageTextureID ID(pSong->GetBannerPath());
ID.bHotPinkColorKey = true;
Load( ID );