mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Level select cheat fixes
This commit is contained in:
parent
623fa126ad
commit
7ef7de1bc5
2 changed files with 2 additions and 1 deletions
|
@ -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 ))
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue