aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-02 17:53:26 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-02 17:53:26 +0000
commit1c7b9a2a697aa2e1727cc5328e64c68a6b20c093 (patch)
tree3ed8a7f4fc3da23ee26fcaebafb646b0abfcaccb /code/server
parent891309256eb2b1af1222c67567b6aabc63c0c53d (diff)
downloadioquake3-aero-1c7b9a2a697aa2e1727cc5328e64c68a6b20c093.tar.gz
ioquake3-aero-1c7b9a2a697aa2e1727cc5328e64c68a6b20c093.zip
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
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_client.c2
1 files changed, 1 insertions, 1 deletions
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];