From 834bd78eb56df3e0ff61c035c1c56d7583137739 Mon Sep 17 00:00:00 2001 From: Latapostrophe Date: Wed, 6 Jan 2021 22:10:23 +0100 Subject: [PATCH] Consider stuff unlocked if DEVELOP flag set --- src/m_cond.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/m_cond.c b/src/m_cond.c index 8ffe3c378..bfd463a7c 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -341,6 +341,12 @@ UINT8 M_CompletionEmblems(void) // Bah! Duplication sucks, but it's for a separa UINT8 M_AnySecretUnlocked(void) { INT32 i; + +#ifdef DEVELOP + if (1) + return true; +#endif + for (i = 0; i < MAXUNLOCKABLES; ++i) { if (!unlockables[i].nocecho && unlockables[i].unlocked) @@ -376,6 +382,12 @@ UINT8 M_SecretUnlocked(INT32 type) UINT8 M_MapLocked(INT32 mapnum) { + +#ifdef DEVELOP + if (1) + return false; +#endif + if (!mapheaderinfo[mapnum-1] || mapheaderinfo[mapnum-1]->unlockrequired < 0) return false; if (!unlockables[mapheaderinfo[mapnum-1]->unlockrequired].unlocked)