NUM_GameController

This commit is contained in:
Glenn Maynard
2006-09-26 20:57:31 +00:00
parent 8e6f1e8dd0
commit d19fdc9caf
12 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
case KEY_RIGHT: /* Move the selection right, wrapping down. */
if( m_iCurButton == (int) m_KeysToMap.size() )
break; // on exit
if( m_iCurSlot == NUM_CHANGABLE_SLOTS-1 && m_iCurController == MAX_GAME_CONTROLLERS-1 )
if( m_iCurSlot == NUM_CHANGABLE_SLOTS-1 && m_iCurController == NUM_GameController-1 )
break; // can't go right any more
BeforeChangeFocus();
m_iCurSlot++;