when pause menu is activated, move mouse cursor on top of the disconnect button, for convenience.
parent
12ca835e14
commit
acd7ce897d
|
@ -1135,6 +1135,9 @@ void the_game(
|
||||||
// It will delete itself by itself
|
// It will delete itself by itself
|
||||||
(new GUIPauseMenu(guienv, guiroot, -1, g_gamecallback,
|
(new GUIPauseMenu(guienv, guiroot, -1, g_gamecallback,
|
||||||
&g_menumgr))->drop();
|
&g_menumgr))->drop();
|
||||||
|
|
||||||
|
// Move mouse cursor on top of the disconnect button
|
||||||
|
input->setMousePos(displaycenter.X, displaycenter.Y+25);
|
||||||
}
|
}
|
||||||
else if(input->wasKeyDown(getKeySetting("keymap_chat")))
|
else if(input->wasKeyDown(getKeySetting("keymap_chat")))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue