when pause menu is activated, move mouse cursor on top of the disconnect button, for convenience.

This commit is contained in:
Perttu Ahola 2011-05-24 21:04:22 +03:00
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")))
{