From af6cf384e50cfe96bd361d9dbd0522d90b2925b7 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sat, 30 Nov 2024 09:57:53 +1100 Subject: [PATCH] Fix using `IDCLEV` cheat in Legacy of Rust --- src/c_cmds.c | 3 +++ src/st_stuff.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/c_cmds.c b/src/c_cmds.c index b0aeb928e..3d4882941 100644 --- a/src/c_cmds.c +++ b/src/c_cmds.c @@ -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) diff --git a/src/st_stuff.c b/src/st_stuff.c index b6c01ff21..1dee5ecec 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -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;