mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 15:36:07 +00:00
Block sneak while chat is open. (#803)
This commit is contained in:
parent
341dfa1868
commit
cc85ecf05a
|
|
@ -595,6 +595,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
{ if (vk == VK_UP) chat->handleHistoryUp(); else chat->handleHistoryDown(); break; }
|
||||
if (vk >= '1' && vk <= '9') // Prevent hotkey conflicts
|
||||
break;
|
||||
if (vk == VK_SHIFT)
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
if (vk == VK_SHIFT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue