]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_dgrm.c
bmodel rotation physics now work
[xonotic/darkplaces.git] / net_dgrm.c
index 3f8f22e8a649c2380bf7937703f8560bddc18a2e..b9ef1c19e6f160861823452ba3e59e5bce3e6233 100644 (file)
@@ -84,7 +84,7 @@ extern qboolean m_return_onerror;
 extern char m_return_reason[32];
 
 
-#ifdef DEBUG
+//#ifdef DEBUG
 char *StrAddr (struct qsockaddr *addr)
 {
        static char buf[34];
@@ -95,7 +95,7 @@ char *StrAddr (struct qsockaddr *addr)
                sprintf (buf + n * 2, "%02x", *p++);
        return buf;
 }
-#endif
+//#endif
 
 
 #ifdef BAN_TEST
@@ -119,7 +119,7 @@ void NET_Ban_f (void)
        }
        else
        {
-               if (pr_global_struct->deathmatch && !host_client->privileged)
+               if (pr_global_struct->deathmatch)
                        return;
                print = SV_ClientPrintf;
        }
@@ -1265,12 +1265,12 @@ static qsocket_t *_Datagram_Connect (char *host)
                                // is it from the right place?
                                if (sfunc.AddrCompare(&readaddr, &sendaddr) != 0)
                                {
-#ifdef DEBUG
-                                       Con_Printf("wrong reply address\n");
-                                       Con_Printf("Expected: %s\n", StrAddr (&sendaddr));
-                                       Con_Printf("Received: %s\n", StrAddr (&readaddr));
+//#ifdef DEBUG
+                                       Con_DPrintf("wrong reply address\n");
+                                       Con_DPrintf("Expected: %s\n", StrAddr (&sendaddr));
+                                       Con_DPrintf("Received: %s\n", StrAddr (&readaddr));
                                        SCR_UpdateScreen ();
-#endif
+//#endif
                                        ret = 0;
                                        continue;
                                }