mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
removed some old code
This commit is contained in:
parent
efabdb169d
commit
b0e5093bb6
|
@ -544,17 +544,6 @@ extern "C" void modc_message(int msgtype)
|
||||||
|
|
||||||
dbg_msg("game", "MOTD: %s", server_motd);
|
dbg_msg("game", "MOTD: %s", server_motd);
|
||||||
|
|
||||||
// take the first line as a center text
|
|
||||||
int len = strlen(server_motd)+1;
|
|
||||||
for(int i = 0; server_motd[i]; i++)
|
|
||||||
{
|
|
||||||
if(server_motd[i] == '\n')
|
|
||||||
{
|
|
||||||
len = i;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(server_motd[0])
|
if(server_motd[0])
|
||||||
server_motd_time = time_get()+time_freq()*10;
|
server_motd_time = time_get()+time_freq()*10;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue