Fix cheeky switch case fallthru

This commit is contained in:
a_dinosaur committed 2023-01-18 23:44:01 +11:00
1 parent f609ad106d
commit dfd8f65111
1 file changed
+2
+2
View File
@@ -199,11 +199,13 @@ int main(int argc, char** argv)
repaint = stickr.recalc = true;
}
}
break;
case (SDL_CONTROLLERDEVICEADDED):
if (pad == NULL)
UseGamepad(event.cdevice.which);
break;
case (SDL_CONTROLLERDEVICEREMOVED):
if (pad != NULL && event.cdevice.which == joyid)
{