Skip to content
Snippets Groups Projects
Commit 7ef7de1b authored by Sal's avatar Sal
Browse files

Level select cheat fixes

parent 623fa126
Branches
No related tags found
1 merge request!2111Level select cheat fixes
...@@ -1925,6 +1925,7 @@ static void Command_Map_f(void) ...@@ -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) ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment