NUM_GameButton

This commit is contained in:
Glenn Maynard
2006-09-27 04:39:51 +00:00
parent e29c920b04
commit 6e6ea7971d
9 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -681,8 +681,8 @@ void InputMapper::SetInputMap( const DeviceInput &DeviceI, const GameInput &Game
ASSERT_M( GameI.controller < NUM_GameController,
ssprintf("controller: %u >= %u", GameI.controller, NUM_GameController) );
ASSERT_M( GameI.button < MAX_GAME_BUTTONS,
ssprintf("button: %u >= %u", GameI.button, MAX_GAME_BUTTONS) );
ASSERT_M( GameI.button < NUM_GameButton,
ssprintf("button: %u >= %u", GameI.button, NUM_GameButton) );
ASSERT_M( iSlotIndex < NUM_GAME_TO_DEVICE_SLOTS,
ssprintf("slot: %u >= %u", iSlotIndex, NUM_GAME_TO_DEVICE_SLOTS) );
m_GItoDI[GameI.controller][GameI.button][iSlotIndex] = DeviceI;