correct text position on guiMessageMenu

This commit is contained in:
darkrose 2013-09-01 16:02:33 +10:00
parent 6c0bd4d3df
commit 58fe396d42
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
Add stuff
*/
{
core::rect<s32> rect(0, 0, 400, 50);
rect = rect + v2s32(size.X/2-400/2, size.Y/2-50/2-25);
core::rect<s32> rect(0, 0, 300, 50);
rect = rect + v2s32(size.X/2-150, size.Y/2-50/2-25);
Environment->addStaticText(m_message_text.c_str(), rect, false,
true, this, 256);
}