Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots.

This commit is contained in:
Thilo Schulz committed 2006-05-02 17:53:26 +00:00
1 parent 8895df0925
commit 7b6fe90aad
1 file changed
+1 -1
+1 -1
View File
@@ -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];