when pause menu is activated, move mouse cursor on top of the disconnect button, for convenience.
This commit is contained in:
parent
12ca835e14
commit
acd7ce897d
|
@ -1135,6 +1135,9 @@ void the_game(
|
|||
// It will delete itself by itself
|
||||
(new GUIPauseMenu(guienv, guiroot, -1, g_gamecallback,
|
||||
&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")))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue