mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Fix errors caused by #30
This commit is contained in:
@@ -26,7 +26,7 @@ JoinGameScreen::~JoinGameScreen()
|
||||
|
||||
void JoinGameScreen::buttonClicked(Button* pButton)
|
||||
{
|
||||
if (pButton->buttonId == m_btnJoin.buttonId)
|
||||
if (pButton->m_buttonId == m_btnJoin.m_buttonId)
|
||||
{
|
||||
if (isIndexValid(m_pAvailableGamesList->m_selectedIndex))
|
||||
{
|
||||
@@ -39,12 +39,12 @@ void JoinGameScreen::buttonClicked(Button* pButton)
|
||||
}
|
||||
}
|
||||
|
||||
if (pButton->buttonId == m_btnDirectConnect.buttonId)
|
||||
if (pButton->m_buttonId == m_btnDirectConnect.m_buttonId)
|
||||
{
|
||||
m_pMinecraft->setScreen(new DirectConnectScreen);
|
||||
}
|
||||
|
||||
if (pButton->buttonId == m_btnBack.buttonId)
|
||||
if (pButton->m_buttonId == m_btnBack.m_buttonId)
|
||||
{
|
||||
m_pMinecraft->setScreen(new StartMenuScreen);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user