shithub: choc

Download patch

ref: d863f019a2d19f1146d92c4db71883ab2ead87ec
parent: 77518973bb9e163896c811336be11abd7346a360
author: Simon Howard <fraggle@gmail.com>
date: Wed Sep 10 21:01:49 EDT 2008

Allow all Doom missions to use any Doom version.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1221

--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -77,6 +77,13 @@
 {
     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