Change error message in CL_ConfigstringModified to specify out of range index like in server.

This commit is contained in:
Zack Middleton 2012-11-18 19:14:07 +00:00
parent 82f83cd092
commit f13a87daad

View file

@ -210,7 +210,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);