mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
enabled so it sends tuning over to the client
This commit is contained in:
parent
d15860e44f
commit
f038d6395d
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue