From f038d6395d9c313f79a6635a056f43dcb1b9667e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 21 Oct 2008 00:36:07 +0000 Subject: [PATCH] enabled so it sends tuning over to the client --- src/game/server/hooks.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index 2d3485d0e..077315dd1 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()