diff options
author | Simon Howard | 2007-04-16 11:34:26 +0000 |
---|---|---|
committer | Simon Howard | 2007-04-16 11:34:26 +0000 |
commit | f128ae0e91dc51fded967b692db87d5f2bcd830a (patch) | |
tree | bb71be605b645166f70fc2abd0471b03316f7a85 | |
parent | 37155e12929d38af0bce752edd9da474c7173367 (diff) | |
download | chocolate-doom-f128ae0e91dc51fded967b692db87d5f2bcd830a.tar.gz chocolate-doom-f128ae0e91dc51fded967b692db87d5f2bcd830a.tar.bz2 chocolate-doom-f128ae0e91dc51fded967b692db87d5f2bcd830a.zip |
Fix crash: don't check for client resends after they have disconnected.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 870
-rw-r--r-- | src/net_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_server.c b/src/net_server.c index 0410c7de..0db25f40 100644 --- a/src/net_server.c +++ b/src/net_server.c @@ -1514,7 +1514,7 @@ void NET_SV_Run(void) for (i=0; i<MAXPLAYERS; ++i) { - if (sv_players[i] != NULL) + if (sv_players[i] != NULL && ClientConnected(sv_players[i])) { NET_SV_CheckResends(sv_players[i]); } |