about summary refs log tree commit diff
path: root/src/game/client/components/emoticon.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/emoticon.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/emoticon.cpp')
-rw-r--r--src/game/client/components/emoticon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/emoticon.cpp b/src/game/client/components/emoticon.cpp
index 559c5b8e..8ca01ee3 100644
--- a/src/game/client/components/emoticon.cpp
+++ b/src/game/client/components/emoticon.cpp
@@ -25,8 +25,8 @@ void EMOTICON::con_emote(void *result, void *user_data)
 
 void EMOTICON::on_console_init()
 {
-	MACRO_REGISTER_COMMAND("+emote", "", con_key_emoticon, this);
-	MACRO_REGISTER_COMMAND("emote", "i", con_emote, this);
+	MACRO_REGISTER_COMMAND("+emote", "", CFGFLAG_CLIENT, con_key_emoticon, this);
+	MACRO_REGISTER_COMMAND("emote", "i", CFGFLAG_CLIENT, con_emote, this);
 }
 
 void EMOTICON::on_reset()