about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-17 00:18:10 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-17 00:18:10 +0000
commit64dd53133ce51c4c699d12618d1af2a478e102f9 (patch)
treed0a96fdf854be45cbd049e76830379b1064055a6
parente8b68bcd33313241d4fa93e301b3dbc5453a2b4f (diff)
downloadzcatch-64dd53133ce51c4c699d12618d1af2a478e102f9.tar.gz
zcatch-64dd53133ce51c4c699d12618d1af2a478e102f9.zip
fixed so that you can't bind esc
-rw-r--r--src/game/client/gc_menu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp
index 8c525a7b..978904df 100644
--- a/src/game/client/gc_menu.cpp
+++ b/src/game/client/gc_menu.cpp
@@ -682,7 +682,9 @@ int ui2_do_key_reader(void *id, const RECT *rect, int key)
 		int k = inp_last_key();
 		if (k)
 		{
-			new_key = k;
+			if(k != KEY_ESC)
+				new_key = k;
+				
 			ui_set_active_item(0);
 			mouse_released = false;
 		}