summaryrefslogtreecommitdiff
path: root/src/d_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_main.c')
-rw-r--r--src/d_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/d_main.c b/src/d_main.c
index 5e9d3f5b..6b90d57e 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -662,6 +662,7 @@ static struct
{"Doom 1.9", "1.9", exe_doom_1_9},
{"Ultimate Doom", "ultimate", exe_ultimate},
{"Final Doom", "final", exe_final},
+ {"Chex Quest", "chex", exe_chex},
{ NULL, NULL, 0},
};
@@ -710,7 +711,11 @@ static void InitGameVersion(void)
{
// Determine automatically
- if (gamemode == shareware || gamemode == registered)
+ if (gameversion == exe_chex)
+ {
+ // Already determined
+ }
+ else if (gamemode == shareware || gamemode == registered)
{
// original