changed #warning to comments so vc2005 would compile everything

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2896 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2008-02-01 06:13:30 +00:00
parent fb43e65f15
commit 1805f13b23
3 changed files with 4 additions and 4 deletions

View file

@ -1382,7 +1382,7 @@ void ParseNails(sv_t *tv, netmsg_t *m, qboolean nails2)
void ParseDownload(sv_t *tv, netmsg_t *m) void ParseDownload(sv_t *tv, netmsg_t *m)
{ {
#warning this needs looking at (controller downloads) //warning this needs looking at (controller downloads)
int size, b; int size, b;
unsigned int percent; unsigned int percent;
char buffer[2048]; char buffer[2048];

View file

@ -3644,7 +3644,7 @@ void ParseQWC(cluster_t *cluster, sv_t *qtv, viewer_t *v, netmsg_t *m)
{ {
if (!qtv->bsp) if (!qtv->bsp)
{ {
#warning do we still actually need to do this ourselves? Or can we just forward what the user stated? //warning do we still actually need to do this ourselves? Or can we just forward what the user stated?
QW_PrintfToViewer(v, "QTV doesn't have that map (%s), sorry.\n", qtv->modellist[1].name); QW_PrintfToViewer(v, "QTV doesn't have that map (%s), sorry.\n", qtv->modellist[1].name);
qtv->errored = ERR_DROP; qtv->errored = ERR_DROP;
} }

View file

@ -1055,7 +1055,7 @@ void QTV_Cleanup(sv_t *qtv, qboolean leaveadmins)
cluster->viewserver = NULL; cluster->viewserver = NULL;
for (v = cluster->viewers; v; v = v->next) for (v = cluster->viewers; v; v = v->next)
{ {
#warning fixme: honour leaveadmins //warning fixme: honour leaveadmins
if (v->server == qtv) if (v->server == qtv)
{ //they were watching this one { //they were watching this one
QW_SetViewersServer(qtv->cluster, v, NULL); QW_SetViewersServer(qtv->cluster, v, NULL);
@ -2077,7 +2077,7 @@ sv_t *QTV_NewServerConnection(cluster_t *cluster, char *server, char *password,
{ {
if (!strcmp(qtv->server, server)) if (!strcmp(qtv->server, server))
{ //if the stream detected some permanent/config error, try reconnecting again (of course this only happens when someone tries using the stream) { //if the stream detected some permanent/config error, try reconnecting again (of course this only happens when someone tries using the stream)
#warning review this logic //warning review this logic
if (qtv->errored == ERR_DISABLED) if (qtv->errored == ERR_DISABLED)
{ {
if (!(!QTV_Connect(qtv, server) && !force)) //try and wake it up if (!(!QTV_Connect(qtv, server) && !force)) //try and wake it up