about summary refs log tree commit diff
path: root/src/game/client/components/binds.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-24 12:16:02 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-24 12:16:02 +0000
commit9d51d47cea8f56dc5d33a6204bdacd67f0acd902 (patch)
tree80c1bf4aae727d200e5b2ad71ccca54f5c999679 /src/game/client/components/binds.cpp
parent1a1af65b96a9ab0c757a40acbbbd5347fec4663f (diff)
downloadzcatch-9d51d47cea8f56dc5d33a6204bdacd67f0acd902.tar.gz
zcatch-9d51d47cea8f56dc5d33a6204bdacd67f0acd902.zip
added tab completion to the console. works for local and remote
Diffstat (limited to 'src/game/client/components/binds.cpp')
-rw-r--r--src/game/client/components/binds.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/client/components/binds.cpp b/src/game/client/components/binds.cpp
index 527b7758..a2e30eaa 100644
--- a/src/game/client/components/binds.cpp
+++ b/src/game/client/components/binds.cpp
@@ -114,10 +114,10 @@ void BINDS::set_defaults()
 void BINDS::on_console_init()
 {
 	// bindings
-	MACRO_REGISTER_COMMAND("bind", "sr", con_bind, this);
-	MACRO_REGISTER_COMMAND("unbind", "s", con_unbind, this);
-	MACRO_REGISTER_COMMAND("unbindall", "", con_unbindall, this);
-	MACRO_REGISTER_COMMAND("dump_binds", "", con_dump_binds, this);
+	MACRO_REGISTER_COMMAND("bind", "sr", CFGFLAG_CLIENT, con_bind, this);
+	MACRO_REGISTER_COMMAND("unbind", "s", CFGFLAG_CLIENT, con_unbind, this);
+	MACRO_REGISTER_COMMAND("unbindall", "", CFGFLAG_CLIENT, con_unbindall, this);
+	MACRO_REGISTER_COMMAND("dump_binds", "", CFGFLAG_CLIENT, con_dump_binds, this);
 	
 	// default bindings
 	set_defaults();