make it like old cods

This commit is contained in:
Skull 2022-12-24 17:12:36 +03:00
parent d71627fe49
commit b3e245e85c

View File

@ -269,10 +269,10 @@ namespace game_console
if (matches.size() > 24)
{
draw_hint_box(1, dvars::con_inputHintBoxColor->current.vector);
draw_hint_text(0, utils::string::va("%i matches (too many to show here). Press SHIFT + TAB to show more", matches.size()),
draw_hint_text(0, utils::string::va("%i matches (too many to show here, press shift+tilde to open full console)", matches.size()),
dvars::con_inputDvarMatchColor->current.vector);
if (GetAsyncKeyState(VK_SHIFT) && GetAsyncKeyState(VK_TAB) & 1)
if (GetAsyncKeyState(VK_SHIFT) && GetAsyncKeyState(VK_OEM_3) & 1)
{
console::info("]%s\n", con.buffer);
for (size_t i = 0; i < matches.size(); i++)