From 01f5787e51d5ba4c83332278cb9dbd0c5df7b194 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sun, 25 Nov 2018 02:30:08 -0500 Subject: [PATCH] Unlock all secrets for dedicated If wanted we can just add dedicated checks to Encore & Hard Mode, but I figured this would be quicker and more future-proof. --- src/m_cond.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/m_cond.c b/src/m_cond.c index 5a9d4f2a8..9c56124e3 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -535,6 +535,12 @@ UINT8 M_AnySecretUnlocked(void) UINT8 M_SecretUnlocked(INT32 type) { INT32 i; + +#if 1 + if (dedicated) + return true; +#endif + for (i = 0; i < MAXUNLOCKABLES; ++i) { if (unlockables[i].type == type && unlockables[i].unlocked)