Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots.
This commit is contained in:
parent
8895df0925
commit
7b6fe90aad
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ void SV_DropClient( client_t *drop, const char *reason ) {
|
||||||
return; // already dropped
|
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
|
// see if we already have a challenge for this ip
|
||||||
challenge = &svs.challenges[0];
|
challenge = &svs.challenges[0];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue