]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Move host_client to serverside, where it belongs.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Jul 2020 14:09:34 +0000 (14:09 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Jul 2020 14:09:34 +0000 (14:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12782 d7cf8633-e32d-0410-b094-e92efae38249

host.c
sv_main.c

diff --git a/host.c b/host.c
index c96584f678872dfe7ba7e53cc1fc19f4f3e53d23..3812d49838c98272c92f3810b420bbc26964ecbb 100644 (file)
--- 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
index f89c307314260af5083f2abd27a6bc5104d16c1d..e2ec76bf1cef4c38d9310fbec2ad1b1942d009b9 100644 (file)
--- 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);