enable WEBCLIENT in dedicated servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4877 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-05-16 17:51:03 +00:00
parent d5dbdff1d1
commit 5c64a659c4
1 changed files with 8 additions and 0 deletions

View File

@ -4144,6 +4144,14 @@ float SV_Frame (void)
if (!sv.gamespeed)
sv.gamespeed = 1;
#ifdef WEBCLIENT
if (isDedicated)
{
// FTP_ClientThink();
HTTP_CL_Think();
}
#endif
#ifndef SERVERONLY
isidle = !isDedicated && sv.allocated_client_slots == 1 && Key_Dest_Has(~kdm_game) && cls.state == ca_active;
/*server is effectively paused if there are no clients*/