fix the ezquake say bug again. but a bit better this time.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1373 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-24 21:46:09 +00:00
parent f814d3a67c
commit 8859acced0
1 changed files with 3 additions and 3 deletions

View File

@ -990,7 +990,7 @@ void QTV_Say(sv_t *qtv, viewer_t *v, char *message)
WriteByte(&msg, 3); //PRINT_CHAT
WriteString2(&msg, v->name);
WriteString2(&msg, "\x8d ");
WriteString2(&msg, message+5);
WriteString2(&msg, message);
WriteString(&msg, "\n");
Multicast(qtv, msg.data, msg.cursize, dem_all, (unsigned int)-1);
@ -1052,9 +1052,9 @@ void ParseQWC(sv_t *qtv, viewer_t *v, netmsg_t *m)
if (!strcmp(buf, "new"))
SendServerData(qtv, v);
else if (!strncmp(buf, "say \"", 5) && !qtv->notalking)
QTV_Say(qtv, v, buf);
QTV_Say(qtv, v, buf+5);
else if (!strncmp(buf, "say ", 4) && !qtv->notalking)
QTV_Say(qtv, v, buf);
QTV_Say(qtv, v, buf+4);
else if (!strncmp(buf, "modellist ", 10))
{
char *cmd = buf+10;