It now compiles. Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2731 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
aae39e18af
commit
efb447ee5b
2 changed files with 1 additions and 2 deletions
|
@ -301,7 +301,7 @@ static void ParseStufftext(sv_t *tv, netmsg_t *m, int to, unsigned int mask)
|
||||||
}
|
}
|
||||||
Info_SetValueForStarKey(tv->serverinfo, "hostname", text, sizeof(tv->serverinfo));
|
Info_SetValueForStarKey(tv->serverinfo, "hostname", text, sizeof(tv->serverinfo));
|
||||||
|
|
||||||
if (tv->controller && tv->controller->netchan.isnqprotocol == false))
|
if (tv->controller && (tv->controller->netchan.isnqprotocol == false))
|
||||||
SendBufferToViewer(tv->controller, (char*)m->data+m->startpos, m->readpos - m->startpos, true);
|
SendBufferToViewer(tv->controller, (char*)m->data+m->startpos, m->readpos - m->startpos, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -686,7 +686,6 @@ int SV_SayToUpstream(sv_t *qtv, char *message)
|
||||||
|
|
||||||
void SV_SayToViewers(sv_t *qtv, char *message)
|
void SV_SayToViewers(sv_t *qtv, char *message)
|
||||||
{
|
{
|
||||||
viewer_t *v;
|
|
||||||
Fwd_SayToDownstream(qtv, message);
|
Fwd_SayToDownstream(qtv, message);
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#warning Send to viewers here too
|
#warning Send to viewers here too
|
||||||
|
|
Loading…
Reference in a new issue