Level select cheat fixes

This commit is contained in:
Sal 2023-08-20 03:16:14 +00:00
parent 623fa126ad
commit 7ef7de1bc5
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)