projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ca835
)
when pause menu is activated, move mouse cursor on top of the disconnect button,...
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 24 May 2011 18:04:22 +0000
(21:04 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 24 May 2011 18:04:22 +0000
(21:04 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index e82e4cd8e59451fafe9810fe2a6431b507ff5187..603a86da3e0b53467d4286f0a0d2bd1a1d9c96cd 100644
(file)
--- 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")))
{