[quake3-commits] r2354 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Nov 18 14:14:08 EST 2012
Author: ztm
Date: 2012-11-18 14:14:07 -0500 (Sun, 18 Nov 2012)
New Revision: 2354
Modified:
trunk/code/client/cl_cgame.c
Log:
Change error message in CL_ConfigstringModified to specify out of range index like in server.
Modified: trunk/code/client/cl_cgame.c
===================================================================
--- trunk/code/client/cl_cgame.c 2012-11-18 19:09:54 UTC (rev 2353)
+++ trunk/code/client/cl_cgame.c 2012-11-18 19:14:07 UTC (rev 2354)
@@ -210,7 +210,7 @@
index = atoi( Cmd_Argv(1) );
if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
- Com_Error( ERR_DROP, "configstring > MAX_CONFIGSTRINGS" );
+ Com_Error( ERR_DROP, "CL_ConfigstringModified: bad index %i", index );
}
// get everything after "cs <num>"
s = Cmd_ArgsFrom(2);
More information about the quake3-commits
mailing list