From e065b9ec4acc5758a0f67e53cee941d9cf4d35ee Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 9 Oct 2003 06:43:51 +0000 Subject: [PATCH] Fix warning; cleanup. --- stepmania/src/ScreenGameplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index a17f103820..0eead1c148 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -246,8 +246,9 @@ ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen("S m_Background.SetDiffuse( RageColor(0.4f,0.4f,0.4f,1) ); this->AddChild( &m_Background ); + m_sprStaticBackground.SetName( "StaticBG" ); m_sprStaticBackground.Load( THEME->GetPathToG("ScreenGameplay Static Background")); - m_sprStaticBackground.SetXY( STATICBG_X, STATICBG_Y ); + SET_XY( m_sprStaticBackground ); this->AddChild(&m_sprStaticBackground); if( !bDemonstration ) // only load if we're going to use it