Explorar o código

Merge pull request #791 from Ragora/bugfix-sdl-fallthrough

BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp.
Brian Roberts %!s(int64=3) %!d(string=hai) anos
pai
achega
e896e663d4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Engine/source/platformSDL/sdlInputManager.cpp

+ 1 - 0
Engine/source/platformSDL/sdlInputManager.cpp

@@ -303,6 +303,7 @@ void SDLInputManager::processEvent(SDL_Event &evt)
    {
       onSDLDeviceDisconnected_callback(evt.jdevice.which);
       closeJoystick(evt.jdevice.which);
+      break;
    }
 
    case SDL_CONTROLLERAXISMOTION: