EventThread: Mouse button IDs greater than 'SDL_BUTTON_X2' are possible

This commit is contained in:
Jonas Kulla 2013-10-29 08:54:57 +01:00
parent b6890a3c35
commit 8dd6b63fc4
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public:
struct MouseState struct MouseState
{ {
int x, y; int x, y;
bool buttons[SDL_BUTTON_X2+1]; bool buttons[32];
}; };
static MouseState mouseState; static MouseState mouseState;