about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-11-30 01:41:00 +0100
committeroy <Tom_Adams@web.de>2011-11-30 01:41:00 +0100
commit05f77f64affc2445c7e386088e97c6411664cab3 (patch)
treeaacf529b0a195bac83ab576be2b21c5760226318 /src/engine
parent48d367db204adb2eb0bef9764b12773891d6975f (diff)
downloadzcatch-05f77f64affc2445c7e386088e97c6411664cab3.tar.gz
zcatch-05f77f64affc2445c7e386088e97c6411664cab3.zip
added caching for the play command. Closes #891
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index bec7d4d6..9f43b9ce 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -2154,7 +2154,7 @@ void CClient::RegisterCommands()
 	m_pConsole->Register("screenshot", "", CFGFLAG_CLIENT, Con_Screenshot, this, "Take a screenshot");
 	m_pConsole->Register("rcon", "r", CFGFLAG_CLIENT, Con_Rcon, this, "Send specified command to rcon");
 	m_pConsole->Register("rcon_auth", "s", CFGFLAG_CLIENT, Con_RconAuth, this, "Authenticate to rcon");
-	m_pConsole->Register("play", "r", CFGFLAG_CLIENT, Con_Play, this, "Play the file specified");
+	m_pConsole->Register("play", "r", CFGFLAG_CLIENT|CFGFLAG_STORE, Con_Play, this, "Play the file specified");
 	m_pConsole->Register("record", "?s", CFGFLAG_CLIENT, Con_Record, this, "Record to the file");
 	m_pConsole->Register("stoprecord", "", CFGFLAG_CLIENT, Con_StopRecord, this, "Stop recording");
 	m_pConsole->Register("add_favorite", "s", CFGFLAG_CLIENT, Con_AddFavorite, this, "Add a server as a favorite");