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

This commit is contained in:
Thilo Schulz 2006-05-02 17:53:26 +00:00
parent 8895df0925
commit 7b6fe90aad
1 changed files with 1 additions and 1 deletions

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];