[quake3-commits] r1802 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Oct 25 02:43:55 EDT 2010


Author: zakk
Date: 2010-10-25 02:43:55 -0400 (Mon, 25 Oct 2010)
New Revision: 1802

Modified:
   trunk/code/server/sv_client.c
Log:
Bugzilla #4629
commands sent to client when disconnecte


Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c	2010-10-25 06:39:11 UTC (rev 1801)
+++ trunk/code/server/sv_client.c	2010-10-25 06:43:55 UTC (rev 1802)
@@ -1478,7 +1478,7 @@
 
 	if (clientOK) {
 		// pass unknown strings to the game
-		if (!u->name && sv.state == SS_GAME) {
+		if (!u->name && sv.state == SS_GAME && cl->state == CS_ACTIVE) {
 			Cmd_Args_Sanitize();
 			VM_Call( gvm, GAME_CLIENT_COMMAND, cl - svs.clients );
 		}



More information about the quake3-commits mailing list