From ccd3153d9aa5cc55f3a073acd1551a7e51eee924 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 30 Aug 2004 07:08:13 +0000 Subject: [PATCH] Chat on a server causes the window to flash on the taskbar. (rather than just when we host the server) git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@78 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 05430573a..eee2b0c8b 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -3090,7 +3090,10 @@ qboolean CL_ParseChat(char *text) static float serverresponsetime; s = strchr(text, ':'); //Hmm.. FIXME: Can a player's name contain a ':'?... I think the answer is a yes... Hmmm.. problematic eh? if (!s || s[1] != ' ') //wasn't a real chat... - return true; + return true; + + Sys_ServerActivity(); //chat always flashes the screen.. + //check f_ stuff if (!strncmp(s+2, "f_version", 9) && versionresponsetime < Sys_DoubleTime()) //respond to it. {