mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +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