summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-11-18 19:14:07 +0000
committerTim Angus <tim@ngus.net>2013-01-12 21:24:48 +0000
commit3ad73d857c296447af3139e211c9f4baf271aa18 (patch)
treedd4053d8ec9830f98c8efd7393e7ffe0c15c9b80
parentb85440e07f3d91e30bcf36b1e95310fd1d5ee4b5 (diff)
Change error message in CL_ConfigstringModified to specify out of range index like in server.
-rw-r--r--src/client/cl_cgame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_cgame.c b/src/client/cl_cgame.c
index 00bddcd4..b30446fa 100644
--- a/src/client/cl_cgame.c
+++ b/src/client/cl_cgame.c
@@ -208,7 +208,7 @@ void CL_ConfigstringModified( void ) {
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);