mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
windows specific patch now
This commit is contained in:
parent
1f8e47ab3e
commit
cc4281d85e
|
|
@ -66,7 +66,11 @@ bool ControllerTask::isCompleted()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef _WINDOWS64
|
||||||
bAllComplete = true;
|
bAllComplete = true;
|
||||||
|
#else
|
||||||
|
bAllComplete = false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iCurrent++;
|
iCurrent++;
|
||||||
|
|
@ -87,7 +91,11 @@ bool ControllerTask::isCompleted()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef _WINDOWS64
|
||||||
bAllComplete = true;
|
bAllComplete = true;
|
||||||
|
#else
|
||||||
|
bAllComplete = false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iCurrent++;
|
iCurrent++;
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,11 @@ bool InfoTask::isCompleted()
|
||||||
bool current = (*it).second;
|
bool current = (*it).second;
|
||||||
if(!current)
|
if(!current)
|
||||||
{
|
{
|
||||||
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 || KMInput.IsKeyDown(VK_SPACE))
|
#ifdef _WINDOWS64
|
||||||
|
if (InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 || KMInput.IsKeyDown(VK_SPACE))
|
||||||
|
#else
|
||||||
|
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
(*it).second = true;
|
(*it).second = true;
|
||||||
bAllComplete=true;
|
bAllComplete=true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue