mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
linux (compat): Add linux to most Win64 guards
This commit is contained in:
1 parent
8cf5675892
commit
9626065598
180 files changed
+941
-935
No files matched your search
@@ -49,13 +49,13 @@ bool ChoiceTask::isCompleted()
|
||||
sendTelemetry();
|
||||
enableConstraints(false, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(!menuDisplayed)
|
||||
{
|
||||
// If the player is under water then allow all keypresses so they can jump out
|
||||
if (hasValidPad && pMinecraft->localplayers[tutorialPad] != nullptr && pMinecraft->localplayers[tutorialPad]->isUnderLiquid(Material::water)) return false;
|
||||
#ifdef _WINDOWS64
|
||||
#if defined(_WINDOWS64) || defined(__linux__)
|
||||
if (!m_bConfirmMappingComplete &&
|
||||
(InputManager.GetValue(xboxPad, m_iConfirmMapping) > 0
|
||||
|| g_KBMInput.IsKeyDown(VK_RETURN)))
|
||||
@@ -67,7 +67,7 @@ bool ChoiceTask::isCompleted()
|
||||
m_bConfirmMappingComplete = true;
|
||||
}
|
||||
|
||||
#ifdef _WINDOWS64
|
||||
#if defined(_WINDOWS64) || defined(__linux__)
|
||||
if (!m_bCancelMappingComplete &&
|
||||
(InputManager.GetValue(xboxPad, m_iCancelMapping) > 0
|
||||
|| g_KBMInput.IsKeyDown('B')))
|
||||
|
||||
Reference in new issue
Block a user