From efa4c68660dbe168469de8b9b678c4dc981e3586 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 3 Mar 2007 21:19:46 +0000 Subject: [PATCH] more cleanup --- stepmania/src/Banner.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/Banner.cpp b/stepmania/src/Banner.cpp index 3568e65d8f..3a82e1d4a7 100644 --- a/stepmania/src/Banner.cpp +++ b/stepmania/src/Banner.cpp @@ -56,10 +56,10 @@ void Banner::Update( float fDeltaTime ) float fTexCoords[8] = { - 0+m_fPercentScrolling, pTextureRect->top, // top left + 0+m_fPercentScrolling, pTextureRect->top, // top left 0+m_fPercentScrolling, pTextureRect->bottom, // bottom left 1+m_fPercentScrolling, pTextureRect->bottom, // bottom right - 1+m_fPercentScrolling, pTextureRect->top, // top right + 1+m_fPercentScrolling, pTextureRect->top, // top right }; Sprite::SetCustomTextureCoords( fTexCoords ); } @@ -76,9 +76,9 @@ void Banner::SetScrolling( bool bScroll, float Percent) void Banner::LoadFromSong( Song* pSong ) // NULL means no song { - if( pSong == NULL ) LoadFallback(); - else if( pSong->HasBanner() ) Load( pSong->GetBannerPath() ); - else LoadFallback(); + if( pSong == NULL ) LoadFallback(); + else if( pSong->HasBanner() ) Load( pSong->GetBannerPath() ); + else LoadFallback(); m_bScrolling = false; }