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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Dec 15 03:08:47 EST 2012


Author: ztm
Date: 2012-12-15 03:08:46 -0500 (Sat, 15 Dec 2012)
New Revision: 2384

Modified:
   trunk/code/server/sv_client.c
Log:
Fix clients being able to reset their player state and respawn using donedl.

Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c	2012-12-15 00:40:08 UTC (rev 2383)
+++ trunk/code/server/sv_client.c	2012-12-15 08:08:46 UTC (rev 2384)
@@ -853,6 +853,9 @@
 ==================
 */
 static void SV_DoneDownload_f( client_t *cl ) {
+	if ( cl->state == CS_ACTIVE )
+		return;
+
 	Com_DPrintf( "clientDownload: %s Done\n", cl->name);
 	// resend the game state to update any clients that entered during the download
 	SV_SendClientGameState(cl);



More information about the quake3-commits mailing list