Button loop.

This commit is contained in:
Jason Felds
2013-04-28 23:33:11 -04:00
parent db080e7d8e
commit 9447da4d31
+2 -2
View File
@@ -57,9 +57,9 @@ static void GetUsedGameInputs( vector<GameInput> &vGameInputsOut )
split( GAME_BUTTONS_TO_SHOW.GetValue(), ",", asGameButtons );
FOREACH_ENUM( GameController, gc )
{
FOREACH_CONST( RString, asGameButtons, button )
for (RString const &button : asGameButtons)
{
GameButton gb = StringToGameButton( INPUTMAPPER->GetInputScheme(), *button );
GameButton gb = StringToGameButton( INPUTMAPPER->GetInputScheme(), button );
if( gb != GameButton_Invalid )
{
GameInput gi = GameInput( gc, gb );