mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Add files via upload
This commit is contained in:
parent
5f4b272a15
commit
6a392c0cc7
|
|
@ -1820,6 +1820,13 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||||
pMinecraft->setScreen(new ChatScreen());
|
pMinecraft->setScreen(new ChatScreen());
|
||||||
SetFocus(g_hWnd);
|
SetFocus(g_hWnd);
|
||||||
}
|
}
|
||||||
|
else if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_SLASHCOMMANDCHAT) && app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL)
|
||||||
|
// Needs to set the message with "/" when pressed.
|
||||||
|
{
|
||||||
|
g_KBMInput.ClearCharBuffer();
|
||||||
|
pMinecraft->setScreen(new ChatScreen());
|
||||||
|
SetFocus(g_hWnd);
|
||||||
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// has the game defined profile data been changed (by a profile load)
|
// has the game defined profile data been changed (by a profile load)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue