From a724f1166c2d285fd45215f3c3ce455ece3d0725 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sat, 4 Jul 2020 14:09:34 +0000 Subject: [PATCH] Move host_client to serverside, where it belongs. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12782 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 3 --- sv_main.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/host.c b/host.c index c96584f6..3812d498 100644 --- a/host.c +++ b/host.c @@ -44,9 +44,6 @@ Memory is cleared / released when a server or client begins, not when they end. */ -// current client -client_t *host_client; - host_t host; // pretend frames take this amount of time (in seconds), 0 = realtime diff --git a/sv_main.c b/sv_main.c index f89c3073..e2ec76bf 100644 --- a/sv_main.c +++ b/sv_main.c @@ -25,6 +25,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "csprogs.h" #include "thread.h" +// current client +client_t *host_client; + static void SV_SaveEntFile_f(cmd_state_t *cmd); static void SV_StartDownload_f(cmd_state_t *cmd); static void SV_Download_f(cmd_state_t *cmd); -- 2.39.2