]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
corrected some svc_nop's to clc_nop's (same value but more correct)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Dec 2006 19:32:10 +0000 (19:32 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Dec 2006 19:32:10 +0000 (19:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6651 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c
netconn.c

index b1cf5c21809f8df7b0745c27da024a166ff5067b..b4215c6da53fc5e64a55af9672571fe827340a60 100644 (file)
@@ -300,7 +300,7 @@ void CL_KeepaliveMessage (void)
                memset(&msg, 0, sizeof(msg));
                msg.data = buf;
                msg.maxsize = sizeof(buf);
-               MSG_WriteChar(&msg, svc_nop);
+               MSG_WriteChar(&msg, clc_nop);
                NetConn_SendUnreliableMessage(cls.netcon, &msg, cls.protocol);
        }
 }
index 8f31e4e8193827e1ecaf35c876b75dbce05f97df..8ddc8aa59d3de099f0f82bd39615150f1e371301 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -1092,14 +1092,14 @@ void NetConn_ConnectionEstablished(lhnetsocket_t *mysocket, lhnetaddress_t *peer
                Cmd_ForwardStringToServer("new");
        if (cls.protocol == PROTOCOL_QUAKE)
        {
-               // write a keepalive (svc_nop) as it seems to greatly improve the
+               // write a keepalive (clc_nop) as it seems to greatly improve the
                // chances of connecting to a netquake server
                sizebuf_t msg;
                unsigned char buf[4];
                memset(&msg, 0, sizeof(msg));
                msg.data = buf;
                msg.maxsize = sizeof(buf);
-               MSG_WriteChar(&msg, svc_nop);
+               MSG_WriteChar(&msg, clc_nop);
                NetConn_SendUnreliableMessage(cls.netcon, &msg, cls.protocol);
        }
 }