about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-21 00:36:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-21 00:36:07 +0000
commitf038d6395d9c313f79a6635a056f43dcb1b9667e (patch)
tree791ab7eb30841ce35ba6d37d78724a6482315428 /src
parentd15860e44f3cbe0c92add6acd24ace564442645d (diff)
downloadzcatch-f038d6395d9c313f79a6635a056f43dcb1b9667e.tar.gz
zcatch-f038d6395d9c313f79a6635a056f43dcb1b9667e.zip
enabled so it sends tuning over to the client
Diffstat (limited to 'src')
-rw-r--r--src/game/server/hooks.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp
index 2d3485d0..077315dd 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -23,14 +23,12 @@ TUNING_PARAMS tuning;
 
 void send_tuning_params(int cid)
 {
-	/*
-	msg_pack_start(NETMSGTYPE_SV_TUNE_PARAMS, MSGFLAG_VITAL);
+	msg_pack_start(NETMSGTYPE_SV_TUNEPARAMS, MSGFLAG_VITAL);
 	int *params = (int *)&tuning;
-	for(unsigned i = 0; i < sizeof(tuning_params)/sizeof(int); i++)
+	for(unsigned i = 0; i < sizeof(tuning)/sizeof(int); i++)
 		msg_pack_int(params[i]);
 	msg_pack_end();
 	server_send_msg(cid);
-	*/
 }
 
 int mods_is_tuned()