forked from fte/fteqw
1
0
Fork 0

Randomized the realip challenge.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2982 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-05-26 21:51:19 +00:00
parent 594c81c3b5
commit 4afc4aa4e6
1 changed files with 1 additions and 0 deletions

View File

@ -1677,6 +1677,7 @@ client_t *SVC_DirectConnect(void)
newcl->userid = nextuserid;
newcl->fteprotocolextensions = protextsupported;
newcl->protocol = protocol;
newcl->realip_ping = rand();
if (sv.msgfromdemo)
newcl->wasrecorded = true;