GetCurrentStyle()

This commit is contained in:
Glenn Maynard
2006-09-30 22:13:20 +00:00
parent cd8f1fc1c6
commit a8dd0c5fdc
12 changed files with 26 additions and 26 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ void ScreenWithMenuElements::Init()
SET_XY( m_autoHeader );
this->AddChild( m_autoHeader );
if( STYLE_ICON && GAMESTATE->m_pCurStyle )
if( STYLE_ICON && GAMESTATE->GetCurrentStyle() )
{
m_sprStyleIcon.SetName( "StyleIcon" );
m_sprStyleIcon.Load( THEME->GetPathG("MenuElements",RString("icon ")+GAMESTATE->GetCurrentStyle()->m_szName) );
@@ -57,7 +57,7 @@ void ScreenWithMenuElements::Init()
this->AddChild( &m_sprStyleIcon );
}
if( SHOW_STAGE && GAMESTATE->m_pCurStyle )
if( SHOW_STAGE && GAMESTATE->GetCurrentStyle() )
{
m_sprStage.Load( THEME->GetPathG(m_sName,"stage") );
m_sprStage->SetName( "Stage" );