[splittiming] Don't show routine key on non.

Hmm...does mercurial offer a cherry pick command?
This commit is contained in:
Jason Felds
2011-05-13 00:40:10 -04:00
parent 4c063eaefd
commit ba65be2335
+7
View File
@@ -4328,6 +4328,13 @@ void ScreenEdit::DoHelp()
RString sButtons = GetDeviceButtonsLocalized( hl.veb, m_EditMappingsDeviceInput );
RString sDescription = THEME->GetString( "EditHelpDescription", hl.szEnglishDescription );
// TODO: Better way of hiding routine only key on non-routine.
if( sDescription.Left(13) == "Switch player" && m_InputPlayerNumber == PLAYER_INVALID )
{
continue;
}
g_EditHelp.rows.push_back( MenuRowDef( -1, sDescription, false, EditMode_Practice, false, false, 0, sButtons ) );
}