about summary refs log tree commit diff
path: root/src/game/client/menu2.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-08 09:20:55 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-08 09:20:55 +0000
commit6b6b79d7ae80d9892a54065f042e1877a16d373e (patch)
tree31e0f5ce551e71930d49f589bb686cfde319e658 /src/game/client/menu2.cpp
parent5fa862c8d4c5bf1a96c5f0d9b5234f38550c7d8c (diff)
downloadzcatch-6b6b79d7ae80d9892a54065f042e1877a16d373e.tar.gz
zcatch-6b6b79d7ae80d9892a54065f042e1877a16d373e.zip
minor direct connection bug fixed
Diffstat (limited to 'src/game/client/menu2.cpp')
-rw-r--r--src/game/client/menu2.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/game/client/menu2.cpp b/src/game/client/menu2.cpp
index 0527e15f..a6724d0e 100644
--- a/src/game/client/menu2.cpp
+++ b/src/game/client/menu2.cpp
@@ -555,24 +555,6 @@ int ui2_do_key_reader(void *id, const RECT *rect, int key)
 		ui2_draw_keyselect_button(id, "???", 0, rect, 0);
 	else
 		ui2_draw_keyselect_button(id, inp_key_name(key), 0, rect, 0);
-		
-	//ui2_do_label(rect, 
-	/*
-	int box_type;
-	if (ui_active_item() == id || ui_hot_item() == id)
-		box_type = GUI_BOX_SCREEN_INFO;
-	else
-		box_type = GUI_BOX_SCREEN_TEXTBOX;
-	draw_box(box_type, tileset_regular, x, y, w, h);
-	
-	const char *str = inp_key_name(key);
-	ui_do_label(x + 10, y, str, 36);
-	if (ui_active_item() == id)
-	{
-		float w = gfx_pretty_text_width(36.0f, str, -1);
-		ui_do_label(x + 10 + w, y, "_", 36);
-	}*/
-
 	return new_key;
 }