mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Consider stuff unlocked if DEVELOP flag set
This commit is contained in:
parent
9d7e880d66
commit
834bd78eb5
1 changed files with 12 additions and 0 deletions
12
src/m_cond.c
12
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)
|
UINT8 M_AnySecretUnlocked(void)
|
||||||
{
|
{
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
|
#ifdef DEVELOP
|
||||||
|
if (1)
|
||||||
|
return true;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < MAXUNLOCKABLES; ++i)
|
for (i = 0; i < MAXUNLOCKABLES; ++i)
|
||||||
{
|
{
|
||||||
if (!unlockables[i].nocecho && unlockables[i].unlocked)
|
if (!unlockables[i].nocecho && unlockables[i].unlocked)
|
||||||
|
|
@ -376,6 +382,12 @@ UINT8 M_SecretUnlocked(INT32 type)
|
||||||
|
|
||||||
UINT8 M_MapLocked(INT32 mapnum)
|
UINT8 M_MapLocked(INT32 mapnum)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef DEVELOP
|
||||||
|
if (1)
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!mapheaderinfo[mapnum-1] || mapheaderinfo[mapnum-1]->unlockrequired < 0)
|
if (!mapheaderinfo[mapnum-1] || mapheaderinfo[mapnum-1]->unlockrequired < 0)
|
||||||
return false;
|
return false;
|
||||||
if (!unlockables[mapheaderinfo[mapnum-1]->unlockrequired].unlocked)
|
if (!unlockables[mapheaderinfo[mapnum-1]->unlockrequired].unlocked)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue