diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-21 00:36:07 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-21 00:36:07 +0000 |
| commit | f038d6395d9c313f79a6635a056f43dcb1b9667e (patch) | |
| tree | 791ab7eb30841ce35ba6d37d78724a6482315428 | |
| parent | d15860e44f3cbe0c92add6acd24ace564442645d (diff) | |
| download | zcatch-f038d6395d9c313f79a6635a056f43dcb1b9667e.tar.gz zcatch-f038d6395d9c313f79a6635a056f43dcb1b9667e.zip | |
enabled so it sends tuning over to the client
| -rw-r--r-- | src/game/server/hooks.cpp | 6 |
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() |