From 16a62f26a10bf9b6f222cd8fa45046d1029264d4 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 6 Jun 2015 08:26:40 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4889 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/net_wins.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index 02f833f21..9bf47c543 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -5594,6 +5594,12 @@ void NET_Init (void) Cvar_Register (&net_upnpigp, "networking"); net_upnpigp.restriction = RESTRICT_MAX; + // + // init the message buffer + // + net_message.maxsize = sizeof(net_message_buffer); + net_message.data = net_message_buffer; + #if defined(HAVE_WINSSPI) SSL_Init(); #endif @@ -5635,13 +5641,7 @@ void NET_InitClient(qboolean loopbackonly) FTENET_AddToCollection(cls.sockets, "CLIPX", port, NA_IPX, true); #endif - // - // init the message buffer - // - net_message.maxsize = sizeof(net_message_buffer); - net_message.data = net_message_buffer; - -// Con_TPrintf("Client port Initialized\n"); + // Con_TPrintf("Client port Initialized\n"); } #endif @@ -5797,13 +5797,6 @@ void NET_InitServer(void) FTENET_AddToCollection(svs.sockets, "SVLoopback", STRINGIFY(PORT_QWSERVER), NA_LOOPBACK, true); #endif } - - - // - // init the message buffer - // - net_message.maxsize = sizeof(net_message_buffer); - net_message.data = net_message_buffer; } #endif