isolate "start" special case, and don't assert if it isn't found
This commit is contained in:
@@ -29,7 +29,9 @@ void LightsDriver_SystemMessage::Set( const LightsState *ls )
|
|||||||
}
|
}
|
||||||
s += "\n";
|
s += "\n";
|
||||||
|
|
||||||
int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->GetNumGameplayButtons();
|
int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->ButtonNameToIndex( "Start" );
|
||||||
|
if( iNumGameButtonsToShow == GameButton_Invalid )
|
||||||
|
iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->m_iButtonsPerController;
|
||||||
|
|
||||||
FOREACH_GameController( gc )
|
FOREACH_GameController( gc )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user