unify GameButton and MenuButton

This commit is contained in:
Glenn Maynard
2007-01-13 02:40:10 +00:00
parent d74c5689ff
commit ebcf1e0235
5 changed files with 24 additions and 52 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ void ScreenMapControllers::Init()
MenuButton mb = INPUTMAPPER->GetInputScheme()->GetMenuButtonSecondaryFunction( pKey->m_GameButton );
RString sText;
if( mb != MenuButton_Invalid )
sText = MenuButtonToLocalizedString( mb );
sText = GameButtonToLocalizedString( INPUTMAPPER->GetInputScheme(), mb );
ActorUtil::LoadAllCommands( *pSecondary, m_sName );
pSecondary->SetText( sText );
m_Line[iRow].AddChild( pSecondary );