shithub: choc

Download patch

ref: 2248db293f0a0adebcee8b59d928a36b20957d84
parent: 7a648a2c87756f1452d93c6f153898e7709f29bf
author: Simon Howard <fraggle@gmail.com>
date: Wed Mar 15 13:52:31 EST 2006

Check for IWADs in the same order as Vanilla Doom

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 419

--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: d_main.c 408 2006-03-06 20:44:43Z fraggle $
+// $Id: d_main.c 419 2006-03-15 18:52:31Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -184,7 +184,7 @@
 //-----------------------------------------------------------------------------
 
 
-static const char rcsid[] = "$Id: d_main.c 408 2006-03-06 20:44:43Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 419 2006-03-15 18:52:31Z fraggle $";
 
 #define	BGCOLOR		7
 #define	FGCOLOR		8
@@ -757,10 +757,10 @@
     char *name;
     GameMission_t mission;
 } iwads[] = {
-    {"doom.wad",     doom},
     {"doom2.wad",    doom2},
-    {"tnt.wad",      pack_tnt},
     {"plutonia.wad", pack_plut},
+    {"tnt.wad",      pack_tnt},
+    {"doom.wad",     doom},
     {"doom1.wad",    doom},
 };