Merge branch 'cheated-fixes' into 'next'

Level select cheat fixes

Closes #1090

See merge request STJr/SRB2!2111
This commit is contained in:
Sal 2023-08-20 03:16:14 +00:00
commit b6f41bd7b8
2 changed files with 2 additions and 1 deletions

View file

@ -1925,6 +1925,7 @@ static void Command_Map_f(void)
newresetplayers = ! COM_CheckParm("-noresetplayers");
prevent_cheat = !( usedCheats ) && !( option_force || cv_debug );
set_cheated = false;
if (!( netgame || multiplayer ))
{

View file

@ -528,7 +528,7 @@ UINT8 M_CampaignWarpIsCheat(INT32 gt, INT32 mapnum, gamedata_t *data)
}
// It's only a cheat if you've never been there.
return (!(data->mapvisited[mapnum]));
return (!(data->mapvisited[mapnum-1]));
}
INT32 M_CountEmblems(gamedata_t *data)