Fixed compiler warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-01-24 05:29:16 +00:00
parent b200dd0d0f
commit a72c9a5f91

View File

@ -1082,10 +1082,10 @@ bool KartSelectionScreen::playerJoin(InputDevice* device, bool firstPlayer)
m_multiplayer_message = new BubbleWidget();
m_multiplayer_message->m_properties[PROP_TEXT_ALIGN] = "center";
m_multiplayer_message->setText( _("Everyone:\nPress 'Fire' now to join the game!") );
m_multiplayer_message->m_x = fullarea->m_x + splitWidth + splitWidth*0.2f;
m_multiplayer_message->m_y = fullarea->m_y + fullarea->m_h*0.3f;
m_multiplayer_message->m_w = splitWidth*0.6f;
m_multiplayer_message->m_h = fullarea->m_h*0.6f;
m_multiplayer_message->m_x = (int)(fullarea->m_x + splitWidth + splitWidth*0.2f);
m_multiplayer_message->m_y = (int)(fullarea->m_y + fullarea->m_h*0.3f);
m_multiplayer_message->m_w = (int)(splitWidth*0.6f);
m_multiplayer_message->m_h = (int)(fullarea->m_h*0.6f);
m_multiplayer_message->setFocusable(false);
m_multiplayer_message->add();
manualAddWidget(m_multiplayer_message);