]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added LAN search for quakeworld servers
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Mar 2006 00:42:48 +0000 (00:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Mar 2006 00:42:48 +0000 (00:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6114 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c

index 4a6ea050cf48a564f778dd11a794b6bc651224d2..039f7e1f552f3b51b5e6a6d29e3fbbe314e41fc3 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2286,6 +2286,9 @@ void NetConn_QueryMasters(qboolean querydp, qboolean queryqw)
                {
                        if (cl_sockets[i])
                        {
+                               // search LAN for QuakeWorld servers
+                               NetConn_WriteString(cl_sockets[i], "\377\377\377\377status\n", &broadcastaddress);
+
                                // build the getservers message to send to the qwmaster master servers
                                // note this has no -1 prefix, and the trailing nul byte is sent
                                dpsnprintf(request, sizeof(request), "c\n");