mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
DEVELOP: Hold Z to unlock anything, anytime
This commit is contained in:
parent
afc474461f
commit
ca3ecce7ca
1 changed files with 12 additions and 1 deletions
|
|
@ -366,7 +366,11 @@ void M_ChallengesTick(void)
|
||||||
|
|
||||||
if (challengesmenu.chaokeyhold)
|
if (challengesmenu.chaokeyhold)
|
||||||
{
|
{
|
||||||
if (M_MenuExtraHeld(pid) && M_CanKeyHiliTile())
|
boolean devskip = false;
|
||||||
|
#ifdef DEVELOP
|
||||||
|
devskip = M_MenuButtonHeld(pid, MBT_Z);
|
||||||
|
#endif
|
||||||
|
if (devskip || (M_MenuExtraHeld(pid) && M_CanKeyHiliTile()))
|
||||||
{
|
{
|
||||||
// Not pressed just this frame?
|
// Not pressed just this frame?
|
||||||
if (!M_MenuExtraPressed(pid))
|
if (!M_MenuExtraPressed(pid))
|
||||||
|
|
@ -628,6 +632,13 @@ boolean M_ChallengesInputs(INT32 ch)
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#ifdef DEVELOP
|
||||||
|
else if (M_MenuButtonPressed(pid, MBT_Z))
|
||||||
|
{
|
||||||
|
challengesmenu.chaokeyhold = 1;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (M_MenuBackPressed(pid) || start)
|
if (M_MenuBackPressed(pid) || start)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue