mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
shink the cmd and alias hash table sback down (that got in by mistake) and
disable the cmd_hash_stats command (not needed for general use)
This commit is contained in:
parent
6beb96100a
commit
e71a788509
1 changed files with 4 additions and 4 deletions
|
@ -990,8 +990,8 @@ cmd_get_key (void *c, void *unused)
|
|||
void
|
||||
Cmd_Init_Hash (void)
|
||||
{
|
||||
cmd_hash = Hash_NewTable (16381, cmd_get_key, 0, 0);
|
||||
cmd_alias_hash = Hash_NewTable (16381, cmd_alias_get_key, cmd_alias_free,
|
||||
cmd_hash = Hash_NewTable (1021, cmd_get_key, 0, 0);
|
||||
cmd_alias_hash = Hash_NewTable (1021, cmd_alias_get_key, cmd_alias_free,
|
||||
0);
|
||||
}
|
||||
|
||||
|
@ -1014,8 +1014,8 @@ Cmd_Init (void)
|
|||
Cmd_AddCommand ("cmdlist", Cmd_CmdList_f, "List all commands");
|
||||
Cmd_AddCommand ("help", Cmd_Help_f, "Display help for a command or "
|
||||
"variable");
|
||||
Cmd_AddCommand ("cmd_hash_stats", Cmd_Hash_Stats_f, "Display statistics "
|
||||
"alias and command hash tables");
|
||||
//Cmd_AddCommand ("cmd_hash_stats", Cmd_Hash_Stats_f, "Display statistics "
|
||||
// "alias and command hash tables");
|
||||
cmd_warncmd = Cvar_Get ("cmd_warncmd", "0", CVAR_NONE, NULL, "Toggles the "
|
||||
"display of error messages for unknown commands");
|
||||
cmd_highchars = Cvar_Get ("cmd_highchars", "0", CVAR_NONE, NULL, "Toggles availability of special "
|
||||
|
|
Loading…
Reference in a new issue