mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Revert that last commit, the wrappers already handle the offset
--HG-- branch : minor
This commit is contained in:
@@ -68,7 +68,7 @@ namespace sdl
|
||||
|
||||
bool Joystick::checkIndex(int index)
|
||||
{
|
||||
return index > 0 && index <= getNumJoysticks();
|
||||
return index >= 0 && index < getNumJoysticks();
|
||||
}
|
||||
|
||||
int Joystick::getNumJoysticks()
|
||||
|
||||
Reference in New Issue
Block a user