Skip to content

Commit

Permalink
Fix using IDCLEV cheat in Legacy of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 29, 2024
1 parent 43b267b commit af6cf38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -4629,6 +4629,9 @@ static void map_func2(char *cmd, char *parms)
else if (mapcmdmap == 9)
message_secret = true;

if (legacyofrust)
mapcmdepisode = 1;

gameepisode = mapcmdepisode;

if (gamemission == doom)
Expand Down
3 changes: 3 additions & 0 deletions src/st_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,9 @@ bool ST_Responder(const event_t *ev)
message_secret = true;
}

if (legacyofrust)
epsd = 1;

// [BH] always display message
message_dontfuckwithme = true;

Expand Down

0 comments on commit af6cf38

Please sign in to comment.