Broadcast a message when native language display is toggled. Change the second arg for PlayerSelectMenu to SM_None, it doesn't seem to make a difference here.

This commit is contained in:
Colby Klein
2008-09-03 06:40:14 +00:00
parent a7ab4ed4e6
commit d0ca5c85ef
+2 -1
View File
@@ -345,6 +345,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
if( input.type != IET_FIRST_PRESS )
return;
PREFSMAN->m_bShowNativeLanguage.Set( !PREFSMAN->m_bShowNativeLanguage );
MESSAGEMAN->Broadcast( "ChangedLanguageDisplay" );
m_MusicWheel.RebuildWheelItems();
return;
}
@@ -409,7 +410,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
{
if( input.type == IET_RELEASE && input.MenuI == GAME_BUTTON_SELECT )
{
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromPlayerOptions );
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_None );
}
}