r736 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue May 2 13:53:26 EDT 2006


Author: thilo
Date: 2006-05-02 13:53:26 -0400 (Tue, 02 May 2006)
New Revision: 736

Modified:
   trunk/code/server/sv_client.c
Log:
Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots.


Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c	2006-04-30 15:00:39 UTC (rev 735)
+++ trunk/code/server/sv_client.c	2006-05-02 17:53:26 UTC (rev 736)
@@ -478,7 +478,7 @@
 		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];
 




More information about the quake3-commits mailing list