From d6dd107ce88ebcdd918f53c20ff2c4d745987c18 Mon Sep 17 00:00:00 2001 From: red <80164245+gabriel-fondato@users.noreply.github.com> Date: Mon, 2 Mar 2026 12:31:59 -0300 Subject: [PATCH] added ifdefs to shit i did --- Minecraft.Client/Common/Tutorial/ChoiceTask.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Tutorial/ChoiceTask.cpp b/Minecraft.Client/Common/Tutorial/ChoiceTask.cpp index 49fb068b1..ffdd4caad 100644 --- a/Minecraft.Client/Common/Tutorial/ChoiceTask.cpp +++ b/Minecraft.Client/Common/Tutorial/ChoiceTask.cpp @@ -51,12 +51,19 @@ bool ChoiceTask::isCompleted() { // If the player is under water then allow all keypresses so they can jump out if( pMinecraft->localplayers[tutorial->getPad()]->isUnderLiquid(Material::water) ) return false; - +#ifdef _WINDOWS64 if(!m_bConfirmMappingComplete && InputManager.GetValue(pMinecraft->player->GetXboxPad(), m_iConfirmMapping) > 0 || KMInput.IsKeyDown(VK_RETURN)) +#else + if (!m_bConfirmMappingComplete && InputManager.GetValue(pMinecraft->player->GetXboxPad(), m_iConfirmMapping) > 0) +#endif { m_bConfirmMappingComplete = true; } +#ifdef _WINDOWS64 if(!m_bCancelMappingComplete && InputManager.GetValue(pMinecraft->player->GetXboxPad(), m_iCancelMapping) > 0 || KMInput.IsKeyDown('B')) +#else + if (!m_bCancelMappingComplete && InputManager.GetValue(pMinecraft->player->GetXboxPad(), m_iCancelMapping) > 0) +#endif { m_bCancelMappingComplete = true; }