summaryrefslogtreecommitdiff
path: root/src/st_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/st_stuff.c')
-rw-r--r--src/st_stuff.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/st_stuff.c b/src/st_stuff.c
index 766a0ec1..f92d2dda 100644
--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -624,13 +624,20 @@ ST_Responder (event_t* ev)
map = buf[1] - '0';
}
+ // Chex.exe always warps to episode 1.
+
+ if (gameversion == exe_chex)
+ {
+ epsd = 1;
+ }
+
// Catch invalid maps.
if (epsd < 1)
return false;
if (map < 1)
return false;
-
+
// Ohmygod - this is not going to work.
if ((gamemode == retail)
&& ((epsd > 4) || (map > 9)))