From 8dd6b63fc445ff858a49346237cdc727d11c2b9f Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Tue, 29 Oct 2013 08:54:57 +0100 Subject: [PATCH] EventThread: Mouse button IDs greater than 'SDL_BUTTON_X2' are possible --- src/eventthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;