mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-31 12:40:43 +00:00
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:
parent
b9f99c8352
commit
ccd3153d9a
1 changed files with 4 additions and 1 deletions
|
@ -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?
|
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...
|
if (!s || s[1] != ' ') //wasn't a real chat...
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Sys_ServerActivity(); //chat always flashes the screen..
|
||||||
|
|
||||||
//check f_ stuff
|
//check f_ stuff
|
||||||
if (!strncmp(s+2, "f_version", 9) && versionresponsetime < Sys_DoubleTime()) //respond to it.
|
if (!strncmp(s+2, "f_version", 9) && versionresponsetime < Sys_DoubleTime()) //respond to it.
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue