shithub: choc

Download patch

ref: 59d5d0d646f3d4ca1eb2370154db4b4371185e2f
parent: ec3323b9ec5adbb2f24ec67dab1ef776ec7fc559
author: Simon Howard <[email protected]>
date: Fri Dec 10 20:01:45 EST 2010

Fix problem with -autojoin apparently caused by merge error.

Subversion-branch: /branches/raven-branch
Subversion-revision: 2218

--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -479,6 +479,7 @@
         NET_SV_Init();
         NET_SV_AddModule(&net_loop_server_module);
         NET_SV_AddModule(&net_sdl_module);
+        NET_SV_RegisterWithMaster();
 
         net_loop_client_module.InitClient();
         addr = net_loop_client_module.ResolveAddress(NULL);
@@ -497,7 +498,6 @@
         if (i > 0)
         {
             addr = NET_FindLANServer();
-            NET_SV_RegisterWithMaster();
 
             if (addr == NULL)
             {