diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-30 22:33:26 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-30 22:33:26 +0200 |
commit | f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e (patch) | |
tree | 3e68841dc749f04f5ea7b850c553a34893650854 /src/guiPauseMenu.cpp | |
parent | 75816150ec3f95a3d0f60f3b70d281e5d83c584c (diff) | |
parent | 185c0bd5870d95b130e76d5cc3869442b4e73e69 (diff) | |
download | minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.tar.gz minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.tar.bz2 minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.zip |
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'src/guiPauseMenu.cpp')
-rw-r--r-- | src/guiPauseMenu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp index c704cd3fb..6cf364e5f 100644 --- a/src/guiPauseMenu.cpp +++ b/src/guiPauseMenu.cpp @@ -103,6 +103,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize) const s32 btn_gap = 20;
const s32 btn_num = 4;
s32 btn_y = size.Y/2-((btn_num*btn_height+(btn_num-1)*btn_gap))/2;
+ changeCtype("");
{
core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
@@ -180,6 +181,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize) Environment->addStaticText(narrow_to_wide(os.str()).c_str(), rect, false, true, this, 259);
}
+ changeCtype("C");
}
void GUIPauseMenu::drawMenu()
|