add pref for showing autoplay status

This commit is contained in:
Chris Danford
2006-07-08 09:05:44 +00:00
parent 9899308409
commit 1a902b3abd
3 changed files with 3 additions and 3 deletions
+3 -1
View File
@@ -77,6 +77,8 @@ void ScreenSyncOverlay::Update( float fDeltaTime )
UpdateText();
}
static Preference<bool> g_bShowAutoPlayStatus( "ShowAutoPlayStatus", true );
static LocalizedString AUTO_PLAY ( "ScreenSyncOverlay", "AutoPlay" );
static LocalizedString AUTO_PLAY_CPU ( "ScreenSyncOverlay", "AutoPlayCPU" );
static LocalizedString AUTO_SYNC_SONG ( "ScreenSyncOverlay", "AutoSync Song" );
@@ -85,7 +87,7 @@ void ScreenSyncOverlay::UpdateText()
{
vector<RString> vs;
if( PREFSMAN->m_bShowAutoPlayStatus )
if( g_bShowAutoPlayStatus )
{
switch( PREFSMAN->m_AutoPlay )
{