From 9ca5cce92a1827a880f68e09cf586be286b2336c Mon Sep 17 00:00:00 2001 From: TimeServ Date: Sun, 16 Oct 2005 19:35:21 +0000 Subject: [PATCH] fix for my own mistake.. yay git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1497 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index dff247c65..e071d1537 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -3370,7 +3370,7 @@ void CL_PrintStandardMessage(char *msg) // name parsing rules if (v != begin && *(v-1) != ' ') // must be space before name { - v = strstr(NULL, name); + v = strstr(v+len, name); continue; } @@ -3387,7 +3387,7 @@ void CL_PrintStandardMessage(char *msg) if (sizeof(acceptedchars) == i) { - v = strstr(NULL, name); + v = strstr(v+len, name); continue; // no accepted char found } }