1
0
Fork 0

Fix initial moving of mouse above the "exit to menu" button in singleplayer mode

mutilcraft-mt53
Perttu Ahola 2012-03-15 15:57:31 +02:00
parent 5957fed9a7
commit 4aa0f040fb
1 changed files with 4 additions and 1 deletions

View File

@ -1362,7 +1362,10 @@ void the_game(
&g_menumgr, simple_singleplayer_mode))->drop();
// Move mouse cursor on top of the disconnect button
input->setMousePos(displaycenter.X, displaycenter.Y+25);
if(simple_singleplayer_mode)
input->setMousePos(displaycenter.X, displaycenter.Y+0);
else
input->setMousePos(displaycenter.X, displaycenter.Y+25);
}
else if(input->wasKeyDown(getKeySetting("keymap_chat")))
{