now able to press SPACE to continue on hints that wait for you to press A

and the hints what wait for you to move the gamepad stick now just skip instantly
This commit is contained in:
red 2026-03-02 11:42:11 -03:00
parent 923e4bb362
commit 6e45386b95
2 changed files with 4 additions and 3 deletions

View file

@ -66,7 +66,7 @@ bool ControllerTask::isCompleted()
}
else
{
bAllComplete = false;
bAllComplete = true;
}
}
iCurrent++;
@ -87,7 +87,7 @@ bool ControllerTask::isCompleted()
}
else
{
bAllComplete = false;
bAllComplete = true;
}
}
iCurrent++;

View file

@ -7,6 +7,7 @@
#include "TutorialConstraints.h"
#include "InfoTask.h"
#include "..\..\..\Minecraft.World\Material.h"
#include "..\..\KeyboardMouseInput.h"
InfoTask::InfoTask(Tutorial *tutorial, int descriptionId, int promptId /*= -1*/, bool requiresUserInput /*= false*/,
int iMapping /*= 0*/, ETelemetryChallenges telemetryEvent /*= eTelemetryTutorial_NoEvent*/)
@ -65,7 +66,7 @@ bool InfoTask::isCompleted()
bool current = (*it).second;
if(!current)
{
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 )
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 || KMInput.IsKeyDown(VK_SPACE))
{
(*it).second = true;
bAllComplete=true;