]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
fixed some issues with how D3D=1 worked in the makefile
[xonotic/darkplaces.git] / netconn.c
index 075ecd8d3ffe188206b40d16c7129e3e53a1385f..3f0796e54e9485027ae685c18c4f981cfc751412 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2128,9 +2128,9 @@ void NetConn_ClientFrame(void)
        {
                while (cl_sockets[i] && (length = NetConn_Read(cl_sockets[i], readbuffer, sizeof(readbuffer), &peeraddress)) > 0)
                {
-                       R_TimeReport("clientreadnetwork");
+//                     R_TimeReport("clientreadnetwork");
                        NetConn_ClientParsePacket(cl_sockets[i], readbuffer, length, &peeraddress);
-                       R_TimeReport("clientparsepacket");
+//                     R_TimeReport("clientparsepacket");
                }
        }
        NetConn_QueryQueueFrame();
@@ -2213,7 +2213,7 @@ static qboolean NetConn_BuildStatusResponse(const char* challenge, char* out_msg
                                                "%s",
                                                fullstatus ? "statusResponse" : "infoResponse",
                                                gamename, com_modname, gameversion.integer, svs.maxclients,
-                                               nb_clients, nb_bots, sv.name, hostname.string, NET_PROTOCOL_VERSION,
+                                               nb_clients, nb_bots, sv.worldbasename, hostname.string, NET_PROTOCOL_VERSION,
                                                *qcstatus ? "\\qcstatus\\" : "", qcstatus,
                                                challenge ? "\\challenge\\" : "", challenge ? challenge : "",
                                                fullstatus ? "\n" : "");