diff --git a/src/eventthread.h b/src/eventthread.h index f81922e..5a488b8 100644 --- a/src/eventthread.h +++ b/src/eventthread.h @@ -58,7 +58,7 @@ public: struct MouseState { int x, y; - bool buttons[SDL_BUTTON_X2+1]; + bool buttons[32]; }; static MouseState mouseState;