diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-23 16:18:33 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-23 16:18:33 +0000 |
| commit | bd5b2b9f85522203609df18292df510dbb674246 (patch) | |
| tree | c7c0d3652718526bcaaf7c7e32ff6e1f03a4b156 /src/engine/client/ec_client.c | |
| parent | 6d86d949fdfec590e9bed0ff126271ebab81796a (diff) | |
| download | zcatch-bd5b2b9f85522203609df18292df510dbb674246.tar.gz zcatch-bd5b2b9f85522203609df18292df510dbb674246.zip | |
removed glfw and portaudio. SDL is now a requirement
Diffstat (limited to 'src/engine/client/ec_client.c')
| -rw-r--r-- | src/engine/client/ec_client.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c index 1c499e85..73dd921f 100644 --- a/src/engine/client/ec_client.c +++ b/src/engine/client/ec_client.c @@ -1574,7 +1574,7 @@ static void client_run() inp_mouse_mode_absolute(); window_must_refocus = 1; } - else if (config.dbg_focus && inp_key_pressed(KEY_ESC)) + else if (config.dbg_focus && inp_key_pressed(KEY_ESCAPE)) { inp_mouse_mode_absolute(); window_must_refocus = 1; @@ -1597,19 +1597,11 @@ static void client_run() } /* panic quit button */ - #ifdef CONFIG_NO_SDL - if(inp_key_pressed(KEY_LCTRL) && inp_key_pressed(KEY_LSHIFT) && inp_key_pressed('Q')) - break; - - if(inp_key_pressed(KEY_LCTRL) && inp_key_pressed(KEY_LSHIFT) && inp_key_down('E')) - config.cl_editor = config.cl_editor^1; - #else if(inp_key_pressed(KEY_LCTRL) && inp_key_pressed(KEY_LSHIFT) && inp_key_pressed('q')) break; if(inp_key_pressed(KEY_LCTRL) && inp_key_pressed(KEY_LSHIFT) && inp_key_down('e')) config.cl_editor = config.cl_editor^1; - #endif if(!gfx_window_open()) break; |