mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix tournament mode cheat saving
This commit is contained in:
parent
b772a66541
commit
c4e1a98e6b
2 changed files with 9 additions and 1 deletions
|
|
@ -5546,6 +5546,10 @@ void G_SaveGameData(void)
|
||||||
|
|
||||||
// Also save profiles here.
|
// Also save profiles here.
|
||||||
PR_SaveProfiles();
|
PR_SaveProfiles();
|
||||||
|
|
||||||
|
#ifdef DEVELOP
|
||||||
|
CONS_Alert(CONS_NOTICE, M_GetText("Gamedata saved.\n"));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define VERSIONSIZE 16
|
#define VERSIONSIZE 16
|
||||||
|
|
|
||||||
|
|
@ -80,13 +80,17 @@ static UINT8 cheatf_warp(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Goofy, but this call needs to be before M_ClearMenus because that path
|
||||||
|
// calls G_LoadLevel, which will trigger a gamedata save. Garbage factory
|
||||||
|
if (success)
|
||||||
|
G_SetUsedCheats();
|
||||||
|
|
||||||
M_ClearMenus(true);
|
M_ClearMenus(true);
|
||||||
|
|
||||||
const char *text;
|
const char *text;
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
G_SetUsedCheats();
|
|
||||||
S_StartSound(0, sfx_kc42);
|
S_StartSound(0, sfx_kc42);
|
||||||
|
|
||||||
text = M_GetText(
|
text = M_GetText(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue