mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Merge branch 'cheated-fixes' into 'next'
Level select cheat fixes Closes #1090 See merge request STJr/SRB2!2111
This commit is contained in:
commit
b6f41bd7b8
2 changed files with 2 additions and 1 deletions
|
@ -1925,6 +1925,7 @@ static void Command_Map_f(void)
|
||||||
newresetplayers = ! COM_CheckParm("-noresetplayers");
|
newresetplayers = ! COM_CheckParm("-noresetplayers");
|
||||||
|
|
||||||
prevent_cheat = !( usedCheats ) && !( option_force || cv_debug );
|
prevent_cheat = !( usedCheats ) && !( option_force || cv_debug );
|
||||||
|
set_cheated = false;
|
||||||
|
|
||||||
if (!( netgame || multiplayer ))
|
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.
|
// 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)
|
INT32 M_CountEmblems(gamedata_t *data)
|
||||||
|
|
Loading…
Reference in a new issue