From dfe7cb157938a861636c2a4dc1e53dbabba03fec Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 30 Aug 2008 09:28:31 +0000 Subject: fixed so that menus doesn't use inp_get_event. fixes the gui key binder --- src/game/client/components/menus.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/client/components/menus.hpp') diff --git a/src/game/client/components/menus.hpp b/src/game/client/components/menus.hpp index 4d45c65a..6caaa479 100644 --- a/src/game/client/components/menus.hpp +++ b/src/game/client/components/menus.hpp @@ -60,6 +60,11 @@ class MENUS : public COMPONENT int active_page; bool menu_active; vec2 mouse_pos; + + // TODO: this is a bit ugly but.. well.. yeah + enum { MAX_INPUTEVENTS = 32 }; + static INPUT_EVENT inputevents[MAX_INPUTEVENTS]; + static int num_inputevents; // for graphic settings bool need_restart; -- cgit 1.4.1