summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2008-09-11 01:01:49 +0000
committerSimon Howard2008-09-11 01:01:49 +0000
commitd863f019a2d19f1146d92c4db71883ab2ead87ec (patch)
tree9db7e9460fec95ef6b55b2d8e9d5f583e3e81ef3 /src
parent77518973bb9e163896c811336be11abd7346a360 (diff)
downloadchocolate-doom-d863f019a2d19f1146d92c4db71883ab2ead87ec.tar.gz
chocolate-doom-d863f019a2d19f1146d92c4db71883ab2ead87ec.tar.bz2
chocolate-doom-d863f019a2d19f1146d92c4db71883ab2ead87ec.zip
Allow all Doom missions to use any Doom version.
Subversion-branch: /branches/raven-branch Subversion-revision: 1221
Diffstat (limited to 'src')
-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