mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 21:21:33 +00:00
Fix cheeky switch case fallthru
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user