about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 09:28:31 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 09:28:31 +0000
commitdfe7cb157938a861636c2a4dc1e53dbabba03fec (patch)
tree2ab3779239fed519cc907310608d25fdebda186a /src/game/client/gameclient.cpp
parent9672fe674f6335318cf11855299679f9d94a619b (diff)
downloadzcatch-dfe7cb157938a861636c2a4dc1e53dbabba03fec.tar.gz
zcatch-dfe7cb157938a861636c2a4dc1e53dbabba03fec.zip
fixed so that menus doesn't use inp_get_event. fixes the gui key binder
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index a209eef8..a88e7d3c 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -102,9 +102,9 @@ void GAMECLIENT::on_init()
 	
 	// build the input stack
 	input.add(console);
+	input.add(chat); // chat has higher prio due to tha you can quit it by pressing esc
 	input.add(motd); // for pressing esc to remove it
 	input.add(menus);
-	input.add(chat);
 	input.add(&emoticon);
 	input.add(controls);
 	input.add(binds);