GameInputToMenuButton

This commit is contained in:
Glenn Maynard
2006-09-14 04:11:29 +00:00
parent 4d612ff9ee
commit 7b4667c311
+2 -2
View File
@@ -195,8 +195,8 @@ void ScreenNameEntry::Init()
/* Find out if this column is associated with the START menu button. */ /* Find out if this column is associated with the START menu button. */
GameInput gi = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iCol, p ); GameInput gi = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iCol, p );
MenuInput m=GAMESTATE->GetCurrentGame()->GameInputToMenuInput(gi); MenuButton mb = GAMESTATE->GetCurrentGame()->GameInputToMenuButton( gi );
if(m.button == MENU_BUTTON_START) if( mb == MENU_BUTTON_START )
continue; continue;
m_ColToStringIndex[p][iCol] = CurrentStringIndex++; m_ColToStringIndex[p][iCol] = CurrentStringIndex++;