mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Change error message in CL_ConfigstringModified to specify out of range index like in server.
This commit is contained in:
parent
82f83cd092
commit
f13a87daad
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue