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:
@@ -15,17 +15,17 @@ InvalidLicenseScreen::InvalidLicenseScreen(int error, bool bHasQuitButton) :
|
||||
m_bHasQuitButton(bHasQuitButton)
|
||||
{
|
||||
if (bHasQuitButton)
|
||||
m_btnOk.field_18 = "Quit";
|
||||
m_btnOk.m_text = "Quit";
|
||||
}
|
||||
|
||||
void InvalidLicenseScreen::buttonClicked(Button* pButton)
|
||||
{
|
||||
if (pButton->buttonId == m_btnOk.buttonId)
|
||||
if (pButton->m_buttonId == m_btnOk.m_buttonId)
|
||||
{
|
||||
m_pMinecraft->quit();
|
||||
}
|
||||
|
||||
if (pButton->buttonId == m_btnBuy.buttonId)
|
||||
if (pButton->m_buttonId == m_btnBuy.m_buttonId)
|
||||
{
|
||||
m_pMinecraft->platform()->buyGame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user