Allow Changing Input Mode

This commit is contained in:
TheBrokenRail
2023-11-02 19:21:39 -04:00
committed by iProgramInCpp
parent 7771bc20a7
commit c989ffa721
5 changed files with 36 additions and 5 deletions

View File

@@ -295,7 +295,7 @@ void Screen::mouseReleased(int xPos, int yPos, int d)
if (m_pClickedButton)
{
if (m_pMinecraft->isTouchscreen() && button->clicked(m_pMinecraft, xPos, yPos))
if (m_pMinecraft->isTouchscreen() && m_pClickedButton->clicked(m_pMinecraft, xPos, yPos))
{
m_pMinecraft->m_pSoundEngine->play("random.click");
buttonClicked(m_pClickedButton);