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
This commit is contained in:
Spoike 2004-08-30 07:08:13 +00:00
parent b9f99c8352
commit ccd3153d9a

View file

@ -3091,6 +3091,9 @@ qboolean CL_ParseChat(char *text)
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;
Sys_ServerActivity(); //chat always flashes the screen..
//check f_ stuff
if (!strncmp(s+2, "f_version", 9) && versionresponsetime < Sys_DoubleTime()) //respond to it.
{