From 1c7b9a2a697aa2e1727cc5328e64c68a6b20c093 Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 2 May 2006 17:53:26 +0000 Subject: Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots. git-svn-id: svn://svn.icculus.org/quake3/trunk@736 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/server') diff --git a/code/server/sv_client.c b/code/server/sv_client.c index 8d30f54..1277c1d 100644 --- a/code/server/sv_client.c +++ b/code/server/sv_client.c @@ -478,7 +478,7 @@ void SV_DropClient( client_t *drop, const char *reason ) { return; // already dropped } - if ( !drop->gentity || !(drop->gentity->r.svFlags & SVF_BOT) ) { + if (drop->netchan.remoteAddress.type != NA_BOT) { // see if we already have a challenge for this ip challenge = &svs.challenges[0]; -- cgit v1.2.3