summaryrefslogtreecommitdiff
path: root/source/sv_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-09-21 21:28:26 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-09-21 21:28:26 +0000
commit46b7ff3799f6384ffa1d547306894c9ae02710e1 (patch)
tree9856e9220602e7bc8c88655ae21744c7b1bc7a13 /source/sv_main.c
parente6fe1b8183f81868333918ebae662c0e5ea57660 (diff)
Fixed svc_disconnect from SV_DropClient not reaching client at all...
Diffstat (limited to 'source/sv_main.c')
-rw-r--r--source/sv_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_main.c b/source/sv_main.c
index f76de48..b850bf8 100644
--- a/source/sv_main.c
+++ b/source/sv_main.c
@@ -166,8 +166,8 @@ void SV_DropClient( client_t *client, const char *reason ) {
SV_BroadcastPrintf( PRINT_HIGH, "%s was dropped: %s\n",
client->name, reason );
}
- SV_ClientPrintf( client, PRINT_HIGH, "*** Connection dropped: %s ***\n",
- reason );
+ SV_ClientPrintf( client, PRINT_HIGH, "%s was dropped: %s\n",
+ client->name, reason );
}
// add the disconnect
@@ -1196,7 +1196,7 @@ void SV_SendAsyncPackets( void ) {
}
// don't write new reliables if not yet acknowledged
- if( netchan->reliable_length && !retransmit ) {
+ if( netchan->reliable_length && !retransmit && client->state != cs_zombie ) {
continue;
}