From 3ad73d857c296447af3139e211c9f4baf271aa18 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 18 Nov 2012 19:14:07 +0000 Subject: Change error message in CL_ConfigstringModified to specify out of range index like in server. --- src/client/cl_cgame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " s = Cmd_ArgsFrom(2); -- cgit