mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Tournament Mode cheat: Improve handling
- Have special message if cheats are enabled (it previously falsely said you could still save) - Cleaner internal handling - Always take you back to the title screen
This commit is contained in:
parent
45bff5f0d8
commit
17f23e8974
1 changed files with 24 additions and 10 deletions
|
|
@ -80,31 +80,45 @@ static UINT8 cheatf_warp(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
M_ClearMenus(true);
|
||||||
|
|
||||||
|
const char *text;
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
G_SetUsedCheats();
|
G_SetUsedCheats();
|
||||||
M_ClearMenus(true);
|
|
||||||
S_StartSound(0, sfx_kc42);
|
S_StartSound(0, sfx_kc42);
|
||||||
|
|
||||||
M_StartMessage("Tournament Mode",
|
text = M_GetText(
|
||||||
M_GetText(
|
|
||||||
"All challenges temporarily unlocked.\n"
|
"All challenges temporarily unlocked.\n"
|
||||||
"Saving is disabled - the game will\n"
|
"Saving is disabled - the game will\n"
|
||||||
"return to normal on next launch.\n"
|
"return to normal on next launch.\n"
|
||||||
), NULL, MM_NOTHING, NULL, NULL);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
S_StartSound(0, sfx_s3k7b);
|
S_StartSound(0, sfx_s3k7b);
|
||||||
|
|
||||||
M_StartMessage("Tournament Mode",
|
if (usedCheats)
|
||||||
M_GetText(
|
{
|
||||||
"This is the correct password, but\n"
|
text = M_GetText(
|
||||||
"you already have every challenge\n"
|
"This is the correct password, but\n"
|
||||||
"unlocked, so saving is still allowed!\n"
|
"you already have every challenge\n"
|
||||||
), NULL, MM_NOTHING, NULL, NULL);
|
"unlocked, so nothing has changed.\n"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
text = M_GetText(
|
||||||
|
"This is the correct password, but\n"
|
||||||
|
"you already have every challenge\n"
|
||||||
|
"unlocked, so saving is still allowed!\n"
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
M_StartMessage("Tournament Mode", text, NULL, MM_NOTHING, NULL, NULL);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue