about summary refs log tree commit diff
path: root/src/engine/client/ec_client.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-21 13:48:49 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-21 13:48:49 +0000
commitd08271f1dcbec5fce0197b6ca9d022392f4f2ca2 (patch)
treeb17f5475014d565a5e49a973af7be62452fcc0df /src/engine/client/ec_client.c
parent555ee67ed0a076a1bff89899e6aa03121adf6c23 (diff)
downloadzcatch-d08271f1dcbec5fce0197b6ca9d022392f4f2ca2.tar.gz
zcatch-d08271f1dcbec5fce0197b6ca9d022392f4f2ca2.zip
fixed quit panic button and editor access button
Diffstat (limited to 'src/engine/client/ec_client.c')
-rw-r--r--src/engine/client/ec_client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index 96e97af1..96700cb0 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -1601,11 +1601,19 @@ 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;