mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'cheat-unlock-sealed-stars' into 'master'
devmode password: unlock all maps See merge request KartKrew/Kart!1486
This commit is contained in:
commit
eeda1b3ad5
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