cleanups (working on cleaner ConfOption/Preference integration)

This commit is contained in:
Glenn Maynard
2004-12-07 02:47:21 +00:00
parent d3180e8690
commit ed097b0a5d
4 changed files with 76 additions and 52 deletions
+1 -2
View File
@@ -122,8 +122,7 @@ ScreenTitleMenu::ScreenTitleMenu( CString sClassName ) : ScreenSelect( sClassNam
m_textLifeDifficulty.LoadFromFont( THEME->GetPathF(m_sName,"LifeDifficulty") );
m_textLifeDifficulty.RunCommands( LIFE_DIFFICULTY_ON_COMMAND );
int iLifeDifficulty;
const CStringArray dummy;
LifeDifficulty( iLifeDifficulty, true, dummy );
LifeDifficulty( iLifeDifficulty, true, NULL );
iLifeDifficulty++; // LifeDifficulty returns an index
m_textLifeDifficulty.SetText( ssprintf( "life difficulty %d", iLifeDifficulty ) );
this->AddChild( &m_textLifeDifficulty );