[quake3-commits] r1896 - in trunk/code: client server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 11 09:30:55 EST 2011


Author: thilo
Date: 2011-02-11 09:30:55 -0500 (Fri, 11 Feb 2011)
New Revision: 1896

Modified:
   trunk/code/client/cl_main.c
   trunk/code/server/sv_snapshot.c
Log:
Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton (#4794)


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2011-02-10 23:16:14 UTC (rev 1895)
+++ trunk/code/client/cl_main.c	2011-02-11 14:30:55 UTC (rev 1896)
@@ -911,7 +911,7 @@
 		char demoExt[ 16 ];
 
 		Com_sprintf( demoExt, sizeof( demoExt ), ".dm_%d", PROTOCOL_VERSION );
-		Field_CompleteFilename( "demos", demoExt, qtrue, qfalse );
+		Field_CompleteFilename( "demos", demoExt, qtrue, qtrue );
 	}
 }
 

Modified: trunk/code/server/sv_snapshot.c
===================================================================
--- trunk/code/server/sv_snapshot.c	2011-02-10 23:16:14 UTC (rev 1895)
+++ trunk/code/server/sv_snapshot.c	2011-02-11 14:30:55 UTC (rev 1896)
@@ -350,7 +350,7 @@
 		// entities can be flagged to be sent to a given mask of clients
 		if ( ent->r.svFlags & SVF_CLIENTMASK ) {
 			if (frame->ps.clientNum >= 32)
-				Com_Error( ERR_DROP, "SVF_CLIENTMASK: cientNum >= 32\n" );
+				Com_Error( ERR_DROP, "SVF_CLIENTMASK: clientNum >= 32\n" );
 			if (~ent->r.singleClient & (1 << frame->ps.clientNum))
 				continue;
 		}



More information about the quake3-commits mailing list