mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-28 18:52:31 +00:00
devmode password: unlock all maps
This commit is contained in:
parent
3dafc6e724
commit
29017d24d6
1 changed files with 7 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ static UINT8 cheatf_wrongwarp(void)
|
|||
#ifdef DEVELOP
|
||||
static UINT8 cheatf_devmode(void)
|
||||
{
|
||||
UINT16 i;
|
||||
INT32 i;
|
||||
|
||||
if (modifiedgame)
|
||||
return 0;
|
||||
|
|
@ -146,6 +146,12 @@ static UINT8 cheatf_devmode(void)
|
|||
gamedata->unlocked[i] = true;
|
||||
}
|
||||
|
||||
// Unlock all hidden levels.
|
||||
for (i = 0; i < nummapheaders; i++)
|
||||
{
|
||||
mapheaderinfo[i]->records.mapvisited = MV_MAX;
|
||||
}
|
||||
|
||||
// This is a developer feature, you know how to delete ringdata
|
||||
// G_SetUsedCheats();
|
||||
S_StartSound(0, sfx_kc42);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue