From acd7ce897d2ea30699ca83aa1304987b1eea7880 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 24 May 2011 21:04:22 +0300 Subject: [PATCH] when pause menu is activated, move mouse cursor on top of the disconnect button, for convenience. --- src/game.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game.cpp b/src/game.cpp index e82e4cd8..603a86da 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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"))) { -- 2.30.2