enabled so it sends tuning over to the client

This commit is contained in:
Magnus Auvinen 2008-10-21 00:36:07 +00:00
parent d15860e44f
commit f038d6395d

View file

@ -23,14 +23,12 @@ TUNING_PARAMS tuning;
void send_tuning_params(int cid) void send_tuning_params(int cid)
{ {
/* msg_pack_start(NETMSGTYPE_SV_TUNEPARAMS, MSGFLAG_VITAL);
msg_pack_start(NETMSGTYPE_SV_TUNE_PARAMS, MSGFLAG_VITAL);
int *params = (int *)&tuning; 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_int(params[i]);
msg_pack_end(); msg_pack_end();
server_send_msg(cid); server_send_msg(cid);
*/
} }
int mods_is_tuned() int mods_is_tuned()