diff --git a/src/menus/extras-challenges.c b/src/menus/extras-challenges.c index c254a14a2..5c50c4eef 100644 --- a/src/menus/extras-challenges.c +++ b/src/menus/extras-challenges.c @@ -8,6 +8,8 @@ #include "../r_skins.h" #include "../s_sound.h" +//#define CHAOKEYDEBUG + menuitem_t MISC_ChallengesStatsDummyMenu[] = { {IT_STRING | IT_CALL, "Back", NULL, NULL, {.routine = M_GoBack}, 0, 0}, @@ -373,7 +375,9 @@ void M_ChallengesTick(void) if (challengesmenu.chaokeyhold > CHAOHOLD_MAX) { - //gamedata->chaokeys--; +#ifndef CHAOKEYDEBUG + gamedata->chaokeys--; +#endif challengesmenu.chaokeyhold = 0; challengesmenu.unlockcount[CC_CHAOANIM]++; @@ -600,7 +604,7 @@ boolean M_ChallengesInputs(INT32 ch) challengesmenu.unlockcount[CC_CHAONOPE] = 6; S_StartSound(NULL, sfx_s3k7b); //sfx_s3kb2 -#if 1 // debugging +#ifdef CHAOKEYDEBUG if (challengesmenu.currentunlock < MAXUNLOCKABLES && challengesmenu.unlockanim >= UNLOCKTIME && gamedata->unlocked[challengesmenu.currentunlock] == true) { gamedata->unlocked[challengesmenu.currentunlock] = gamedata->unlockpending[challengesmenu.currentunlock] = false;