Some fixes
This commit is contained in:
parent
5da497b61b
commit
a39c18414c
@ -58,7 +58,7 @@ namespace command
|
||||
const auto current = game::Dvar_ValueToString(dvar, nullptr, &dvar->current);
|
||||
const auto reset = game::Dvar_ValueToString(dvar, nullptr, &dvar->reset);
|
||||
|
||||
game_console::print(game_console::con_type_info, "\"%s\" is: \"%s\" default: \"%s\" hash: %i",
|
||||
game_console::print(game_console::con_type_info, "\"%s\" is: \"%s\" default: \"%s\" hash: 0x%08lX",
|
||||
args[0], current, reset, dvar->name);
|
||||
|
||||
game_console::print(game_console::con_type_info, " %s\n",
|
||||
|
@ -41,7 +41,7 @@ namespace gui_console
|
||||
game_console::find_matches(text, matches, false);
|
||||
}
|
||||
|
||||
if (matches.size() == 1)
|
||||
if (matches.size() < 24)
|
||||
{
|
||||
const auto match = matches[0].data();
|
||||
data->DeleteChars(0, data->BufTextLen);
|
||||
|
Loading…
Reference in New Issue
Block a user