summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/d_mode.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/d_mode.c b/src/d_mode.c
index 51e3e345..12b97e6a 100644
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -77,6 +77,13 @@ boolean D_ValidGameVersion(GameMission_t mission, GameVersion_t version)
{
int i;
+ // All Doom variants can use the Doom versions.
+
+ if (mission == doom2 || mission == pack_plut || mission == pack_tnt)
+ {
+ mission = doom;
+ }
+
for (i=0; i<arrlen(valid_versions); ++i)
{
if (valid_versions[i].mission == mission