Add quick define-toggled testing apparatus to M_SecretUnlocked.

This commit is contained in:
toaster 2022-09-04 15:53:51 +01:00
parent 6544e95c01
commit 8d938bef90

View file

@ -374,10 +374,14 @@ UINT8 M_SecretUnlocked(INT32 type)
{
INT32 i;
#if 1
if (dedicated)
return true;
#endif
#if 0
(void)type;
(void)i;
return false; // for quick testing
#else
#ifdef DEVELOP
#define CHADYES true
@ -393,6 +397,7 @@ UINT8 M_SecretUnlocked(INT32 type)
return CHADYES;
#undef CHADYES
#endif //if 0
}
UINT8 M_MapLocked(INT32 mapnum)