Changing map download messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2463 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
15a38d3726
commit
4262948c3e
2 changed files with 8 additions and 6 deletions
|
@ -1478,7 +1478,6 @@ void ParseDownload(sv_t *tv, netmsg_t *m)
|
|||
}
|
||||
else
|
||||
{
|
||||
QW_StreamPrint(tv->cluster, tv, NULL, "Attempting map download\n");
|
||||
snprintf(tv->status, sizeof(tv->status), "Downloading map, %i%%\n", percent);
|
||||
SendClientCommand(tv, "nextdl\n");
|
||||
}
|
||||
|
@ -1728,6 +1727,8 @@ void ParseMessage(sv_t *tv, char *buffer, int length, int to, int mask)
|
|||
strcpy(tv->status, "Downloading map\n");
|
||||
Sys_Printf(tv->cluster, "Attempting download of %s\n", tv->downloadname);
|
||||
SendClientCommand(tv, "download %s\n", tv->modellist[1].name);
|
||||
|
||||
QW_StreamPrint(tv->cluster, tv, NULL, "[QTV] Attempting map download\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
11
fteqtv/qw.c
11
fteqtv/qw.c
|
@ -4127,12 +4127,13 @@ void QW_UpdateUDPStuff(cluster_t *cluster)
|
|||
|
||||
if (v->menunum)
|
||||
Menu_Draw(cluster, v);
|
||||
else if (v->server && v->server->parsingconnectiondata)
|
||||
{
|
||||
WriteByte(&m, svc_centerprint);
|
||||
WriteString(&m, v->server->status);
|
||||
}
|
||||
}
|
||||
if (!v->menunum && v->server && v->server->parsingconnectiondata)
|
||||
{
|
||||
WriteByte(&m, svc_centerprint);
|
||||
WriteString(&m, v->server->status);
|
||||
}
|
||||
|
||||
Netchan_Transmit(cluster, &v->netchan, m.cursize, m.data);
|
||||
|
||||
if (!v->netchan.message.cursize && v->backbuffered)
|
||||
|
|
Loading…
Reference in a new issue