mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-27 06:13:01 +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) );
|
index = atoi( Cmd_Argv(1) );
|
||||||
if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
|
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>"
|
// get everything after "cs <num>"
|
||||||
s = Cmd_ArgsFrom(2);
|
s = Cmd_ArgsFrom(2);
|
||||||
|
|
Loading…
Reference in a new issue