From bb617ef35ec892c7cc89e9df99241563114b7f65 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 12 Nov 2004 22:50:41 +0000 Subject: [PATCH] moved the extern prototype for SV_ConnectClient from netconn.c to server.h since the DP_SV_BOTCLIENT builtins will be calling it git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4741 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 1 - server.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.c b/netconn.c index a07ce921..211bd929 100755 --- a/netconn.c +++ b/netconn.c @@ -989,7 +989,6 @@ static void NetConn_BuildChallengeString(char *buffer, int bufferlength) buffer[i] = 0; } -extern void SV_ConnectClient(int clientnum, netconn_t *netconnection); int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, qbyte *data, int length, lhnetaddress_t *peeraddress) { int i, n, ret, clientnum, responselength, best; diff --git a/server.h b/server.h index 7b45edfa..6d43eb84 100644 --- a/server.h +++ b/server.h @@ -287,6 +287,7 @@ void SV_StartParticle (vec3_t org, vec3_t dir, int color, int count); void SV_StartEffect (vec3_t org, int modelindex, int startframe, int framecount, int framerate); void SV_StartSound (edict_t *entity, int channel, char *sample, int volume, float attenuation); +void SV_ConnectClient (int clientnum, netconn_t *netconnection); void SV_DropClient (qboolean crash); void SV_SendClientMessages (void); -- 2.39.2