Removed an assertion it's possible to hit
This commit is contained in:
1 parent
c24b33d8d9
commit
61704b5862
1 file changed
-2
@@ -967,8 +967,6 @@ static void HandleGamepadAdded(SDL_JoystickID id, SDL_bool verbose)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
i = FindController(id);
|
i = FindController(id);
|
||||||
|
|
||||||
SDL_assert(i >= 0);
|
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user