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.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/d_main.c b/src/d_main.c
index 5e5d93b1..5953a991 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: d_main.c 120 2005-09-22 13:13:47Z fraggle $
+// $Id: d_main.c 149 2005-10-02 04:16:47Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.16 2005/10/02 04:16:47 fraggle
+// Fixes for Final Doom
+//
// Revision 1.15 2005/09/22 13:13:47 fraggle
// Remove external statistics driver support (-statcopy):
// nonfunctional on modern systems and never used.
@@ -87,7 +90,7 @@
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: d_main.c 120 2005-09-22 13:13:47Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 149 2005-10-02 04:16:47Z fraggle $";
#define BGCOLOR 7
#define FGCOLOR 8
@@ -682,6 +685,8 @@ static void IdentifyIWADByName(char *name)
{
int i;
+ gamemission = none;
+
for (i=0; i<sizeof(iwads) / sizeof(*iwads); ++i)
{
if (strlen(name) < strlen(iwads[i].name))
@@ -696,8 +701,6 @@ static void IdentifyIWADByName(char *name)
break;
}
}
-
- gamemission = none;
}
//