about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-11-17 12:50:01 +0100
committeroy <Tom_Adams@web.de>2010-11-17 12:50:01 +0100
commit994a44f6e1b821517d36f0cf20beaaf07cfca4e4 (patch)
tree61407a6451b25ca176a2d730495493e628c1b4d3 /src/game/client/gameclient.cpp
parentf1ce0d1949a7197a292f5376e3109162cc639390 (diff)
downloadzcatch-994a44f6e1b821517d36f0cf20beaaf07cfca4e4.tar.gz
zcatch-994a44f6e1b821517d36f0cf20beaaf07cfca4e4.zip
simplified change_map command so that it switches to the next map in the maprotation when called without param
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 f782f534..cffbf7ae 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -187,7 +187,7 @@ void CGameClient::OnConsoleInit()
 	Console()->Register("tune", "si", CFGFLAG_SERVER, 0, 0, "Tune variable to value");
 	Console()->Register("tune_reset", "", CFGFLAG_SERVER, 0, 0, "Reset tuning");
 	Console()->Register("tune_dump", "", CFGFLAG_SERVER, 0, 0, "Dump tuning");
-	Console()->Register("change_map", "r", CFGFLAG_SERVER, 0, 0, "Change map");
+	Console()->Register("change_map", "?r", CFGFLAG_SERVER, 0, 0, "Change map");
 	Console()->Register("restart", "?i", CFGFLAG_SERVER, 0, 0, "Restart in x seconds");
 	Console()->Register("broadcast", "r", CFGFLAG_SERVER, 0, 0, "Broadcast message");
 	Console()->Register("say", "r", CFGFLAG_SERVER, 0, 0, "Say in chat");