From: havoc Date: Fri, 15 Dec 2006 19:32:10 +0000 (+0000) Subject: corrected some svc_nop's to clc_nop's (same value but more correct) X-Git-Tag: xonotic-v0.1.0preview~3749 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a473289e63fa85c6edce042060fd2a4ac1ed4bc;p=xonotic%2Fdarkplaces.git corrected some svc_nop's to clc_nop's (same value but more correct) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6651 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index b1cf5c21..b4215c6d 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -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); } } diff --git a/netconn.c b/netconn.c index 8f31e4e8..8ddc8aa5 100755 --- 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); } }