This commit is contained in:
LaurentGom 2010-01-06 07:16:22 +00:00
parent 5c68de5e80
commit 9bda3a4ef2

View File

@ -76,7 +76,7 @@ bool Input::IsMouseButtonDown(Mouse::Button button) const
////////////////////////////////////////////////////////////
bool Input::IsJoystickButtonDown(unsigned int joystick, unsigned int button) const
{
if ((joystick < 2) && (button < 32))
if ((joystick < 4) && (button < 32))
return myJoystickButtons[joystick][button];
else
return false;