mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-07 08:33:47 +00:00
Merge branch 'fix-permanent-tournament-mode' into 'master'
Fix tournament mode cheat saving (resolves #749) Closes #749 See merge request KartKrew/Kart!1637
This commit is contained in:
commit
f400a4a236
2 changed files with 9 additions and 1 deletions
|
|
@ -5546,6 +5546,10 @@ void G_SaveGameData(void)
|
|||
|
||||
// Also save profiles here.
|
||||
PR_SaveProfiles();
|
||||
|
||||
#ifdef DEVELOP
|
||||
CONS_Alert(CONS_NOTICE, M_GetText("Gamedata saved.\n"));
|
||||
#endif
|
||||
}
|
||||
|
||||
#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);
|
||||
|
||||
const char *text;
|
||||
|
||||
if (success)
|
||||
{
|
||||
G_SetUsedCheats();
|
||||
S_StartSound(0, sfx_kc42);
|
||||
|
||||
text = M_GetText(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue